diff options
Diffstat (limited to 'src/core/wee-string.c')
-rw-r--r-- | src/core/wee-string.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/wee-string.c b/src/core/wee-string.c index 14bc245e0..4bf43094e 100644 --- a/src/core/wee-string.c +++ b/src/core/wee-string.c @@ -583,7 +583,7 @@ string_strcmp_ignore_chars (const char *string1, const char *string2, /* look at diff */ diff = (case_sensitive) ? - (int)string1[0] - (int)string2[0] : utf8_charcasecmp (string1, string2); + utf8_charcmp (string1, string2) : utf8_charcasecmp (string1, string2); if (diff != 0) return (diff < 0) ? -1 : 1; |