]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
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 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++;