(menu_displaylist.c) Cleanup

This commit is contained in:
twinaphex 2015-06-05 23:36:47 +02:00
parent 37ece26d18
commit fa4d00ea74

View File

@ -1688,7 +1688,9 @@ static int menu_displaylist_parse_generic(menu_displaylist_info_t *info, bool *n
string_list_free(str_list);
if (hash_label == MENU_LABEL_CORE_LIST)
switch (hash_label)
{
case MENU_LABEL_CORE_LIST:
{
const char *dir = NULL;
menu_list_get_last_stack(menu->menu_list, &dir, NULL, NULL);
@ -1714,6 +1716,8 @@ static int menu_displaylist_parse_generic(menu_displaylist_info_t *info, bool *n
}
*need_sort = true;
}
break;
}
return 0;
}