fix more compile errors
This commit is contained in:
parent
ff1b9a5bfa
commit
114175def3
|
|
@ -1,10 +1,11 @@
|
||||||
#include "matchpattern.h"
|
#include <string.h>
|
||||||
|
#include "filematch.h"
|
||||||
|
|
||||||
// LordHavoc: some portable directory listing code I wrote for lmp2pcx, now used in darkplaces to load id1/*.pak and such...
|
// LordHavoc: some portable directory listing code I wrote for lmp2pcx, now used in darkplaces to load id1/*.pak and such...
|
||||||
|
|
||||||
int matchpattern(const char *in, const char *pattern, int caseinsensitive)
|
int matchpattern(const char *in, const char *pattern, int caseinsensitive)
|
||||||
{
|
{
|
||||||
return matchpattern_with_separator(in, pattern, caseinsensitive, "/\\:", false);
|
return matchpattern_with_separator(in, pattern, caseinsensitive, "/\\:", 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
// wildcard_least_one: if true * matches 1 or more characters
|
// wildcard_least_one: if true * matches 1 or more characters
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user