Cleanups
This commit is contained in:
parent
26afec3b08
commit
27c0702919
|
@ -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)
|
||||||
|
{
|
||||||
|
case FILE_TYPE_IN_CARCHIVE:
|
||||||
fill_pathname_join_delim(full_path_new, menu_path_new, path,
|
fill_pathname_join_delim(full_path_new, menu_path_new, path,
|
||||||
'#',sizeof(full_path_new));
|
'#',sizeof(full_path_new));
|
||||||
else
|
break;
|
||||||
|
default:
|
||||||
fill_pathname_join(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;
|
||||||
|
}
|
||||||
|
|
||||||
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,
|
||||||
|
|
Loading…
Reference in New Issue