Prevent another menu_setting_get_label codepath
This commit is contained in:
parent
65dbc0fd6e
commit
0a079568df
|
@ -1457,24 +1457,6 @@ static void menu_action_setting_disp_set_label_core_options(file_list_t* list,
|
||||||
strlcpy(s2, path, len2);
|
strlcpy(s2, path, len2);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void menu_action_setting_disp_set_label_content_history(
|
|
||||||
file_list_t* list,
|
|
||||||
unsigned *w, unsigned type, unsigned i,
|
|
||||||
const char *label,
|
|
||||||
char *s, size_t len,
|
|
||||||
const char *entry_label,
|
|
||||||
const char *path,
|
|
||||||
char *s2, size_t len2)
|
|
||||||
{
|
|
||||||
*s = '\0';
|
|
||||||
*w = 19;
|
|
||||||
|
|
||||||
menu_setting_get_label(list, s,
|
|
||||||
len, w, type, label, entry_label, i);
|
|
||||||
|
|
||||||
strlcpy(s2, path, len2);
|
|
||||||
}
|
|
||||||
|
|
||||||
static void menu_action_setting_disp_set_label_system_information(
|
static void menu_action_setting_disp_set_label_system_information(
|
||||||
file_list_t* list,
|
file_list_t* list,
|
||||||
unsigned *w, unsigned type, unsigned i,
|
unsigned *w, unsigned type, unsigned i,
|
||||||
|
@ -1828,7 +1810,7 @@ int menu_cbs_init_bind_get_string_representation(menu_file_list_cbs_t *cbs,
|
||||||
return 0;
|
return 0;
|
||||||
case MENU_ENUM_LABEL_LOAD_CONTENT_HISTORY:
|
case MENU_ENUM_LABEL_LOAD_CONTENT_HISTORY:
|
||||||
BIND_ACTION_GET_VALUE(cbs,
|
BIND_ACTION_GET_VALUE(cbs,
|
||||||
menu_action_setting_disp_set_label_content_history);
|
menu_action_setting_disp_set_label_menu_more);
|
||||||
return 0;
|
return 0;
|
||||||
case MENU_ENUM_LABEL_SYSTEM_INFORMATION:
|
case MENU_ENUM_LABEL_SYSTEM_INFORMATION:
|
||||||
BIND_ACTION_GET_VALUE(cbs,
|
BIND_ACTION_GET_VALUE(cbs,
|
||||||
|
|
Loading…
Reference in New Issue