Make menu_cbs_Get_value.c line 48 more robust
This commit is contained in:
parent
1efaaab53d
commit
007a7ad044
|
@ -45,7 +45,8 @@ static void menu_action_setting_disp_set_label_cheat_num_passes(
|
||||||
|
|
||||||
*w = 19;
|
*w = 19;
|
||||||
strlcpy(s2, path, len2);
|
strlcpy(s2, path, len2);
|
||||||
snprintf(s, len, "%u", global->cheat->buf_size);
|
if (global && global->cheat)
|
||||||
|
snprintf(s, len, "%u", global->cheat->buf_size);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void menu_action_setting_disp_set_label_remap_file_load(
|
static void menu_action_setting_disp_set_label_remap_file_load(
|
||||||
|
|
Loading…
Reference in New Issue