This commit is contained in:
twinaphex 2016-07-03 11:30:03 +02:00
parent 26afec3b08
commit 27c0702919
1 changed files with 11 additions and 6 deletions

View File

@ -1642,12 +1642,17 @@ static int action_ok_file_load(const char *path,
sizeof(menu_path_new)); sizeof(menu_path_new));
} }
if (type == FILE_TYPE_IN_CARCHIVE) switch (type)
fill_pathname_join_delim(full_path_new, menu_path_new, path, {
'#',sizeof(full_path_new)); case FILE_TYPE_IN_CARCHIVE:
else fill_pathname_join_delim(full_path_new, menu_path_new, path,
fill_pathname_join(full_path_new, menu_path_new, path, '#',sizeof(full_path_new));
sizeof(full_path_new)); break;
default:
fill_pathname_join(full_path_new, menu_path_new, path,
sizeof(full_path_new));
break;
}
return generic_action_ok_file_load(NULL, full_path_new, return generic_action_ok_file_load(NULL, full_path_new,
CORE_TYPE_PLAIN, CORE_TYPE_PLAIN,