summaryrefslogtreecommitdiff
path: root/strings/ctype-simple.c
diff options
context:
space:
mode:
Diffstat (limited to 'strings/ctype-simple.c')
-rw-r--r--strings/ctype-simple.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/strings/ctype-simple.c b/strings/ctype-simple.c
index 41ffecec266..7dd3dfca29a 100644
--- a/strings/ctype-simple.c
+++ b/strings/ctype-simple.c
@@ -1360,7 +1360,7 @@ int my_mb_ctype_8bit(CHARSET_INFO *cs, int *ctype,
if (s >= e)
{
*ctype= 0;
- return MY_CS_TOOFEW(0);
+ return MY_CS_TOOSMALL;
}
*ctype= cs->ctype[*s];
return 1;