From: divverent Date: Tue, 2 Jun 2009 06:48:31 +0000 (+0000) Subject: this time, actually commit the matchpattgern fix X-Git-Tag: xonotic-v0.1.0preview~1616 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=2e45eab4813c040e94483b8173328d8743769836;p=xonotic%2Fdarkplaces.git this time, actually commit the matchpattgern fix git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9005 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/filematch.c b/filematch.c index c88c704e..54bd2a5c 100644 --- a/filematch.c +++ b/filematch.c @@ -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++;