From 2e45eab4813c040e94483b8173328d8743769836 Mon Sep 17 00:00:00 2001 From: divverent Date: Tue, 2 Jun 2009 06:48:31 +0000 Subject: [PATCH] this time, actually commit the matchpattgern fix git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9005 d7cf8633-e32d-0410-b094-e92efae38249 --- filematch.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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++; -- 2.39.2