X-Git-Url: https://wimlib.net/git/?p=wimlib;a=blobdiff_plain;f=src%2Fextract.c;h=4204acabd47e1bf94cf97035efb46ff53446151e;hp=aba92865ba9c3f2bee00175b4a8ec2cf8eff26d6;hb=1fc939b7bd0b37900d974b1cd5b11df128df71f5;hpb=d9675dd5814394373d9871c6e9b7b35325b3d21d;ds=sidebyside diff --git a/src/extract.c b/src/extract.c index aba92865..4204acab 100644 --- a/src/extract.c +++ b/src/extract.c @@ -2274,7 +2274,7 @@ extract_tree(WIMStruct *wim, const tchar *wim_source_path, const tchar *target, /* Translate the path to extract into the corresponding * `struct wim_dentry', which will be the root of the * "dentry tree" to extract. */ - root = get_dentry(wim, wim_source_path); + root = get_dentry(wim, wim_source_path, WIMLIB_CASE_PLATFORM_DEFAULT); if (!root) { ERROR("Path \"%"TS"\" does not exist in WIM image %d", wim_source_path, wim->current_image); @@ -3090,7 +3090,7 @@ wimlib_extract_paths(WIMStruct *wim, else wildcard_flags |= WILDCARD_FLAG_WARN_IF_NO_MATCH; - if (extract_flags & WIMLIB_EXTRACT_FLAG_CASE_INSENSITIVE_GLOB) + if (default_ignore_case) wildcard_flags |= WILDCARD_FLAG_CASE_INSENSITIVE; ret = expand_wildcard_wim_paths(wim, paths, num_paths,