Pretty version of 'Information' string

This commit is contained in:
twinaphex 2015-10-28 04:11:43 +01:00
parent 8f155f9123
commit 53f71b0a94

View File

@ -289,6 +289,13 @@ static int action_get_title_group_settings(const char *path, const char *label,
return 0;
}
static int action_get_title_information_list(const char *path, const char *label,
unsigned menu_type, char *s, size_t len)
{
sanitize_to_string(s, "Information", len);
return 0;
}
static int action_get_title_action_generic(const char *path, const char *label,
unsigned menu_type, char *s, size_t len)
{
@ -596,6 +603,9 @@ static int menu_cbs_init_bind_title_compare_label(menu_file_list_cbs_t *cbs,
case MENU_LABEL_RGUI_CONFIG_DIRECTORY:
BIND_ACTION_GET_TITLE(cbs, action_get_title_config_directory);
break;
case MENU_LABEL_INFORMATION_LIST:
BIND_ACTION_GET_TITLE(cbs, action_get_title_information_list);
break;
case MENU_LABEL_CORE_LIST:
case MENU_LABEL_MANAGEMENT:
case MENU_LABEL_ONLINE_UPDATER:
@ -618,7 +628,6 @@ static int menu_cbs_init_bind_title_compare_label(menu_file_list_cbs_t *cbs,
case MENU_LABEL_CURSOR_MANAGER_LIST:
case MENU_LABEL_DEFERRED_CORE_UPDATER_LIST:
case MENU_LABEL_CONTENT_COLLECTION_LIST:
case MENU_LABEL_INFORMATION_LIST:
case MENU_LABEL_LOAD_CONTENT_LIST:
case MENU_LABEL_CONTENT_SETTINGS:
case MENU_LABEL_ADD_CONTENT_LIST: