diff options
-rw-r--r-- | src/string.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/string.cpp b/src/string.cpp index ada9f9022..301f150f8 100644 --- a/src/string.cpp +++ b/src/string.cpp @@ -608,7 +608,7 @@ char *strcasestr(const char *haystack, const char *needle) */ static const char *SkipGarbage(const char *str) { - while (*str != '\0' && (*str < 'A' || IsInsideMM(*str, '[', '`' + 1) || IsInsideMM(*str, '{', '~' + 1))) str++; + while (*str != '\0' && (*str < '0' || IsInsideMM(*str, ';', '@' + 1) || IsInsideMM(*str, '[', '`' + 1) || IsInsideMM(*str, '{', '~' + 1))) str++; return str; } |