]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - filematch.c
changed matchpattern to take a const char *
[xonotic/darkplaces.git] / filematch.c
index ca0969ce9eff01131e2b678077ead274e1f5b669..f6d85790d0d5baffe90f7f2f5c5c1eab68708281 100644 (file)
@@ -3,7 +3,7 @@
 
 // LordHavoc: some portable directory listing code I wrote for lmp2pcx, now used in darkplaces to load id1/*.pak and such...
 
-int matchpattern(char *in, char *pattern, int caseinsensitive)
+int matchpattern(const char *in, const char *pattern, int caseinsensitive)
 {
        int c1, c2;
        while (*pattern)