(Menu) Cleanups

This commit is contained in:
twinaphex 2015-06-21 23:40:11 +02:00
parent 1615d44d62
commit 9fc96b0ad6
2 changed files with 3 additions and 1 deletions

View File

@ -2262,7 +2262,7 @@ static void xmb_list_cache(menu_list_type_t type, unsigned action)
else
{
menu_list->menu_stack->list[stack_size - 1].label =
strdup("Horizontal Menu");
strdup(menu_hash_to_str(MENU_VALUE_HORIZONTAL_MENU));
menu_list->menu_stack->list[stack_size - 1].type =
MENU_SETTING_HORIZONTAL_MENU;
}

View File

@ -1572,6 +1572,8 @@ static const char *menu_hash_to_str_english(uint32_t hash)
{
switch (hash)
{
case MENU_VALUE_HORIZONTAL_MENU:
return "Horizontal Menu";
case MENU_LABEL_NO_SETTINGS_FOUND:
return "menu_label_no_settings_found";
case MENU_LABEL_VALUE_NO_SETTINGS_FOUND: