this time, actually commit the matchpattgern fix
authordivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Tue, 2 Jun 2009 06:48:31 +0000 (06:48 +0000)
committerdivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Tue, 2 Jun 2009 06:48:31 +0000 (06:48 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9005 d7cf8633-e32d-0410-b094-e92efae38249

filematch.c

index c88c704..54bd2a5 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++;