From: havoc Date: Sun, 30 Nov 2003 01:48:34 +0000 (+0000) Subject: fix a little bug in the FS_Search code (it was checking the pak case sensitivity... X-Git-Tag: xonotic-v0.1.0preview~6250 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=f272bd1d9660f9bbd3242f46b254221f9f50c841;p=xonotic%2Fdarkplaces.git fix a little bug in the FS_Search code (it was checking the pak case sensitivity flag even if it was looking at a directory listing) git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@3671 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/fs.c b/fs.c index 084f0620..6ad2201d 100644 --- a/fs.c +++ b/fs.c @@ -1921,7 +1921,7 @@ fssearch_t *FS_Search(const char *pattern, int caseinsensitive, int quiet) { for (dirfile = dir;dirfile;dirfile = dirfile->next) { - if (matchpattern(dirfile->text, (char *)pattern + basepathlength, caseinsensitive || pak->ignorecase)) + if (matchpattern(dirfile->text, (char *)pattern + basepathlength, caseinsensitive)) { if (search) {