]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - filematch.c
also support the .dir and .d extensions for virtual packs
[xonotic/darkplaces.git] / filematch.c
index c88c704e309057386b673d4221a8bc815f6f6e97..54bd2a5c50f13d86bef459c47ed0816a0bb5d84e 100644 (file)
@@ -35,7 +35,7 @@ int matchpattern_with_separator(const char *in, const char *pattern, int caseins
                                if (strchr(separators, *in))
                                        break;
                                // see if pattern matches at this offset
-                               if (matchpattern(in, pattern, caseinsensitive))
+                               if (matchpattern_with_separator(in, pattern, caseinsensitive, separators, wildcard_least_one))
                                        return 1;
                                // nope, advance to next offset
                                in++;