This commit is contained in:
twinaphex 2017-09-11 03:07:04 +02:00
parent c86901547b
commit e36c3b9a0b

View File

@ -563,19 +563,15 @@ int generic_action_ok_displaylist_push(const char *path,
dl_type = DISPLAYLIST_PENDING_CLEAR; dl_type = DISPLAYLIST_PENDING_CLEAR;
break; break;
case ACTION_OK_DL_CORE_CONTENT_DIRS_SUBDIR_LIST: case ACTION_OK_DL_CORE_CONTENT_DIRS_SUBDIR_LIST:
{ fill_pathname_join_delim(tmp, path, label, ';',
char new_path_tmp[PATH_MAX_LENGTH]; sizeof(tmp));
new_path_tmp[0] = '\0'; info.type = type;
fill_pathname_join_delim(new_path_tmp, path, label, ';', info.directory_ptr = idx;
sizeof(new_path_tmp)); info_path = tmp;
info.type = type; info_label = msg_hash_to_str(
info.directory_ptr = idx; MENU_ENUM_LABEL_DEFERRED_CORE_CONTENT_DIRS_SUBDIR_LIST);
info_path = new_path_tmp; info.enum_idx = MENU_ENUM_LABEL_DEFERRED_CORE_CONTENT_DIRS_SUBDIR_LIST;
info_label = msg_hash_to_str( dl_type = DISPLAYLIST_GENERIC;
MENU_ENUM_LABEL_DEFERRED_CORE_CONTENT_DIRS_SUBDIR_LIST);
info.enum_idx = MENU_ENUM_LABEL_DEFERRED_CORE_CONTENT_DIRS_SUBDIR_LIST;
dl_type = DISPLAYLIST_GENERIC;
}
break; break;
case ACTION_OK_DL_CORE_CONTENT_DIRS_LIST: case ACTION_OK_DL_CORE_CONTENT_DIRS_LIST:
info.type = type; info.type = type;