Skip to content
Snippets Groups Projects
Commit 0553ef9b authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

The simpler fix to issue #317 (nested DIZ files)

By extracting with with_path=true, the file_list matching won't match the nested DIZ files.
parent 16cfe2d3
No related branches found
No related tags found
1 merge request!463MRC mods by Codefenix (2024-10-20)
Pipeline #2556 passed
...@@ -946,7 +946,7 @@ bool extract_diz(scfg_t* cfg, file_t* f, str_list_t diz_fnames, char* path, size ...@@ -946,7 +946,7 @@ bool extract_diz(scfg_t* cfg, file_t* f, str_list_t diz_fnames, char* path, size
if(extract_files_from_archive(archive if(extract_files_from_archive(archive
,/* outdir: */cfg->temp_dir ,/* outdir: */cfg->temp_dir
,/* allowed_filename_chars: */NULL /* any */ ,/* allowed_filename_chars: */NULL /* any */
,/* with_path: */false ,/* with_path: */true
,/* overwrite: */false ,/* overwrite: */false
,/* max_files: */strListCount(diz_fnames) ,/* max_files: */strListCount(diz_fnames)
,/* file_list: */diz_fnames ,/* file_list: */diz_fnames
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment