mirror of
https://github.com/libretro/RetroArch
synced 2025-04-17 02:43:03 +00:00
Fix crash that can happen in menu_action_setting_disp_set_label_entry
This commit is contained in:
parent
f84f829957
commit
e9afd53351
@ -1056,7 +1056,8 @@ static void menu_action_setting_disp_set_label_entry(
|
||||
{
|
||||
*s = '\0';
|
||||
*w = 8;
|
||||
strlcpy(s2, path, len2);
|
||||
if (!string_is_empty(path))
|
||||
strlcpy(s2, path, len2);
|
||||
}
|
||||
|
||||
#ifdef HAVE_BLUETOOTH
|
||||
|
Loading…
x
Reference in New Issue
Block a user