summaryrefslogtreecommitdiff
path: root/strings
diff options
context:
space:
mode:
Diffstat (limited to 'strings')
-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 dd6fbee8e17..813a33fd229 100644
--- a/strings/ctype-mb.c
+++ b/strings/ctype-mb.c
@@ -307,7 +307,7 @@ uint my_instr_mb(CHARSET_INFO *cs,
{
if (nmatch)
{
- match[0].beg= big0;
+ match[0].beg= 0;
match[0].end= big-big0;
match[0].mblen= res;
if (nmatch > 1)