Cleanup
This commit is contained in:
parent
bd99323585
commit
46c5cc0689
|
@ -2009,10 +2009,9 @@ int menu_displaylist_deferred_push(menu_displaylist_info_t *info)
|
||||||
|
|
||||||
if (!strcmp(info->label, "Main Menu"))
|
if (!strcmp(info->label, "Main Menu"))
|
||||||
{
|
{
|
||||||
menu_list_clear(info->list);
|
info->type = MENU_SETTINGS;
|
||||||
ret = menu_entries_push_list(menu, info, SL_FLAG_MAIN_MENU);
|
info->flags = SL_FLAG_MAIN_MENU;
|
||||||
menu_driver_populate_entries(info->path, info->label, info->type);
|
return menu_displaylist_push_list(info, DISPLAYLIST_MAIN_MENU);
|
||||||
return ret;
|
|
||||||
}
|
}
|
||||||
else if (!strcmp(info->label, "Horizontal Menu"))
|
else if (!strcmp(info->label, "Horizontal Menu"))
|
||||||
return menu_entries_push_horizontal_menu_list(menu, info->list, info->path, info->label, info->type);
|
return menu_entries_push_horizontal_menu_list(menu, info->list, info->path, info->label, info->type);
|
||||||
|
|
Loading…
Reference in New Issue