Update - start using menu_hash_to_str

This commit is contained in:
twinaphex 2015-06-15 06:27:45 +02:00
parent 995159dd32
commit eda2e24d0e
2 changed files with 2 additions and 2 deletions

View File

@ -2014,7 +2014,7 @@ static void xmb_list_cache(menu_list_type_t type, unsigned action)
if (menu->categories.selection_ptr == 0)
{
menu_list->menu_stack->list[stack_size - 1].label =
strdup("Main Menu");
strdup(menu_hash_to_str(MENU_VALUE_MAIN_MENU));
menu_list->menu_stack->list[stack_size - 1].type =
MENU_SETTINGS;
}

View File

@ -2191,7 +2191,7 @@ bool menu_displaylist_init(void *data)
info.list = menu_list->selection_buf;
info.type = MENU_SETTINGS;
info.flags = SL_FLAG_MAIN_MENU | SL_FLAG_MAIN_MENU_SETTINGS;
strlcpy(info.label, "Main Menu", sizeof(info.label));
strlcpy(info.label, menu_hash_to_str(MENU_VALUE_MAIN_MENU), sizeof(info.label));
menu_list_push(menu_list->menu_stack,
info.path, info.label, info.type, info.flags, 0);