(menu_cbs_get_value.c) Use string_is_empty

This commit is contained in:
twinaphex 2015-12-26 08:01:56 +01:00
parent c2d7cbe18b
commit c53d1969f2
1 changed files with 2 additions and 1 deletions

View File

@ -14,6 +14,7 @@
*/ */
#include <file/file_path.h> #include <file/file_path.h>
#include <string/stdstring.h>
#include "../menu_driver.h" #include "../menu_driver.h"
#include "../menu_animation.h" #include "../menu_animation.h"
@ -962,7 +963,7 @@ static void menu_action_setting_disp_set_label_core_option_create(
strlcpy(s, "", len); 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(s, path_basename(global->name.base), len);
strlcpy(s2, path, len2); strlcpy(s2, path, len2);