Remove more instances of MSG_UNKNOWN

This commit is contained in:
twinaphex 2016-07-07 02:51:29 +02:00
parent 4511b1c09c
commit 035e7889d1
3 changed files with 9 additions and 3 deletions

View File

@ -1240,6 +1240,10 @@ static const char *menu_hash_to_str_us_label_enum(enum msg_hash_enums msg)
return "no_core_options_available";
case MENU_ENUM_LABEL_NO_CORE_INFORMATION_AVAILABLE:
return "no_core_information_available";
case MENU_ENUM_LABEL_CORE_OPTION_ENTRY:
return "core_option_entry";
case MENU_ENUM_LABEL_URL_ENTRY:
return "url_entry";
case MENU_ENUM_LABEL_NO_PERFORMANCE_COUNTERS:
return "no_performance_counters";
case MENU_ENUM_LABEL_NO_ENTRIES_TO_DISPLAY:

View File

@ -101,7 +101,7 @@ static void print_buf_lines(file_list_t *list, char *buf,
line_start[ln] = '\0';
menu_entries_add_enum(list, line_start, label,
MSG_UNKNOWN, type, 0, 0);
MENU_ENUM_LABEL_URL_ENTRY, type, 0, 0);
switch (type)
{
@ -3532,7 +3532,7 @@ static void menu_displaylist_parse_playlist_associations(
menu_entries_add_enum(info->list,
path_base,
str_list->elems[i].data,
MSG_UNKNOWN,
MENU_ENUM_LABEL_PLAYLIST_ENTRY,
MENU_SETTINGS_PLAYLIST_ASSOCIATION_START + i,
0, 0);
}
@ -5249,7 +5249,7 @@ bool menu_displaylist_ctl(enum menu_displaylist_ctl_state type, void *data)
for (i = 0; i < opts; i++)
menu_entries_add_enum(info->list,
core_option_manager_get_desc(coreopts, i), "",
MSG_UNKNOWN,
MENU_ENUM_LABEL_CORE_OPTION_ENTRY,
MENU_SETTINGS_CORE_OPTION_START + i, 0, 0);
}
}

View File

@ -286,6 +286,8 @@ enum msg_hash_enums
MENU_ENUM_LABEL_SHADER_PARAMETERS_ENTRY,
MENU_ENUM_LABEL_RDB_ENTRY,
MENU_ENUM_LABEL_URL_ENTRY,
MENU_ENUM_LABEL_CORE_OPTION_ENTRY,
MENU_ENUM_LABEL_DEBUG_INFO_ENTRY,
MENU_ENUM_LABEL_NETWORK_INFO_ENTRY,
MENU_ENUM_LABEL_SYSTEM_INFO_ENTRY,