diff options
Diffstat (limited to 'src/charset.c')
-rw-r--r-- | src/charset.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/charset.c b/src/charset.c index bac1a20ff..0535d4cfc 100644 --- a/src/charset.c +++ b/src/charset.c @@ -174,6 +174,11 @@ buf_init_chartab(buf, global) if (VIM_ISDIGIT(*p)) c = getdigits(&p); else +#ifdef FEAT_MBYTE + if (has_mbyte) + c = mb_ptr2char_adv(&p); + else +#endif c = *p++; c2 = -1; if (*p == '-' && p[1] != NUL) |