mirror of
https://github.com/libretro/RetroArch
synced 2025-03-02 19:13:34 +00:00
(menu/drivers/zarch.c) Use strlcpy instead of strncpy
This commit is contained in:
parent
b4e872476b
commit
28bb5295f7
@ -805,8 +805,8 @@ static int zarch_zui_render_lay_root_load(zui_t *zui, zui_tabbed_t *tabbed)
|
||||
|
||||
zui->pick_cores = NULL;
|
||||
zui->pick_supported = 0;
|
||||
strncpy(zui->pick_content,
|
||||
path, sizeof(zui->pick_content)-1);
|
||||
strlcpy(zui->pick_content,
|
||||
path, sizeof(zui->pick_content));
|
||||
|
||||
core_info_ctl(CORE_INFO_CTL_LIST_GET, &list);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user