mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-02-27 15:15:42 +00:00
(menu_input.c) Fix 'explicit null dereferenced'
This commit is contained in:
parent
620f541ca1
commit
c61748d2a0
@ -28,6 +28,7 @@
|
||||
#include <string.h>
|
||||
|
||||
#include <features/features_cpu.h>
|
||||
#include <string/stdstring.h>
|
||||
|
||||
#include "menu_driver.h"
|
||||
#include "menu_input.h"
|
||||
@ -220,7 +221,7 @@ void menu_input_st_string_cb(void *userdata, const char *str)
|
||||
menu_setting_set_with_string_representation(setting, str);
|
||||
menu_setting_generic(setting, false);
|
||||
}
|
||||
else
|
||||
else if (!string_is_empty(label))
|
||||
{
|
||||
uint32_t hash_label = menu_hash_calculate(label);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user