From f272bd1d9660f9bbd3242f46b254221f9f50c841 Mon Sep 17 00:00:00 2001 From: havoc Date: Sun, 30 Nov 2003 01:48:34 +0000 Subject: [PATCH] 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 --- fs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- 2.39.2