parse_generic - Gpo through variable

This commit is contained in:
twinaphex 2016-07-26 09:54:16 +02:00
parent 246855ff97
commit 1113a6de46

View File

@ -3520,6 +3520,7 @@ static int menu_displaylist_parse_generic(
bool is_dir;
char label[PATH_MAX_LENGTH] = {0};
const char *path = NULL;
enum msg_hash_enums enum_idx = MSG_UNKNOWN;
enum msg_file_type file_type = FILE_TYPE_NONE;
switch (str_list->elems[i].attr.i)
@ -3608,7 +3609,7 @@ static int menu_displaylist_parse_generic(
items_found++;
menu_entries_append_enum(info->list, path, label,
MSG_UNKNOWN,
enum_idx,
file_type, 0, 0);
}