diff options
-rw-r--r-- | src/wildcard.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wildcard.cpp b/src/wildcard.cpp index 1b1f874ab..3b95b5f75 100644 --- a/src/wildcard.cpp +++ b/src/wildcard.cpp @@ -39,7 +39,7 @@ int wildcmp(char *wild, char *string) char *cp, *mp; while ((*string) && (*wild != '*')) { - if ((*wild != *string) && (*wild != '?')) + if ((lowermap[(unsigned)*wild] != lowermap[(unsigned)*string]) && (*wild != '?')) { return 0; } |