mirror of
https://github.com/libretro/RetroArch
synced 2025-02-07 03:40:24 +00:00
Prevent calling menu_setting_find if 'label' is NULL
This commit is contained in:
parent
c61748d2a0
commit
553ff7f69f
@ -214,7 +214,8 @@ void menu_input_st_string_cb(void *userdata, const char *str)
|
||||
|
||||
menu_input_ctl(MENU_INPUT_CTL_KEYBOARD_LABEL_SETTING, &label);
|
||||
|
||||
setting = menu_setting_find(label);
|
||||
if (!string_is_empty(label))
|
||||
setting = menu_setting_find(label);
|
||||
|
||||
if (setting)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user