summaryrefslogtreecommitdiff
path: root/strings/ctype-mb.c
diff options
context:
space:
mode:
Diffstat (limited to 'strings/ctype-mb.c')
-rw-r--r--strings/ctype-mb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/strings/ctype-mb.c b/strings/ctype-mb.c
index 625dbbae751..3d1abe95675 100644
--- a/strings/ctype-mb.c
+++ b/strings/ctype-mb.c
@@ -107,7 +107,7 @@ int my_strcasecmp_mb(CHARSET_INFO * cs,const char *s, const char *t)
if (*s++ != *t++)
return 1;
}
- else if (my_ismbhead(cs, *t))
+ else if (my_mbcharlen(cs, *t) > 1)
return 1;
else if (map[(uchar) *s++] != map[(uchar) *t++])
return 1;