git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6384
d7cf8633-e32d-0410-b094-
e92efae38249
char *text;
} stringlist_t;
-int matchpattern(char *in, char *pattern, int caseinsensitive);
+int matchpattern(const char *in, const char *pattern, int caseinsensitive);
stringlist_t *stringlistappend(stringlist_t *current, char *text);
void stringlistfree(stringlist_t *current);
stringlist_t *stringlistsort(stringlist_t *start);
// 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)