mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 22:20:21 +00:00
(menu_cbs_get_value.c) Use string_is_empty
This commit is contained in:
parent
c2d7cbe18b
commit
c53d1969f2
@ -14,6 +14,7 @@
|
||||
*/
|
||||
|
||||
#include <file/file_path.h>
|
||||
#include <string/stdstring.h>
|
||||
|
||||
#include "../menu_driver.h"
|
||||
#include "../menu_animation.h"
|
||||
@ -962,7 +963,7 @@ static void menu_action_setting_disp_set_label_core_option_create(
|
||||
|
||||
strlcpy(s, "", len);
|
||||
|
||||
if (global->name.base[0] != '\0')
|
||||
if (!string_is_empty(global->name.base))
|
||||
strlcpy(s, path_basename(global->name.base), len);
|
||||
|
||||
strlcpy(s2, path, len2);
|
||||
|
Loading…
x
Reference in New Issue
Block a user