diff options
author | Bram Moolenaar <Bram@vim.org> | 2009-09-11 12:02:34 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2009-09-11 12:02:34 +0000 |
commit | 183bb3e4b60ae78549038c97937a52619675a575 (patch) | |
tree | 213ce18d006d94a0cebb63de5ec0dcbd41c606ba /src/charset.c | |
parent | 1d7ad738e5c629817e1e059d21b788f943c6c4d4 (diff) | |
download | vim-git-183bb3e4b60ae78549038c97937a52619675a575.tar.gz |
updated for version 7.2-252v7.2.252
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) |