diff options
Diffstat (limited to 'tests/permutc2.exp')
-rw-r--r-- | tests/permutc2.exp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/permutc2.exp b/tests/permutc2.exp index 02632d5..30eb911 100644 --- a/tests/permutc2.exp +++ b/tests/permutc2.exp @@ -108,7 +108,7 @@ in_word_set (str, len) { register const char *s = wordlist[key]; - if (*str == *s && !gperf_case_strcmp (str + 1, s + 1)) + if ((((unsigned char)*str ^ (unsigned char)*s) & ~32) == 0 && !gperf_case_strcmp (str, s)) return s; } } |