diff options
author | Bram Moolenaar <Bram@vim.org> | 2005-08-10 21:07:57 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2005-08-10 21:07:57 +0000 |
commit | 0fa313a71870ccc2ba63da25a7abea850f5b3d02 (patch) | |
tree | fc949b566e1d78f6eea570aab55c52b7d6a6b052 /src/ex_cmds.c | |
parent | c388fbf9d99a8950c8c9a01466cfb8baa104ee8c (diff) | |
download | vim-0fa313a71870ccc2ba63da25a7abea850f5b3d02.zip |
updated for version 7.0127
Diffstat (limited to 'src/ex_cmds.c')
-rw-r--r-- | src/ex_cmds.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/ex_cmds.c b/src/ex_cmds.c index a58f91a6d..4b7d6fd46 100644 --- a/src/ex_cmds.c +++ b/src/ex_cmds.c @@ -596,7 +596,7 @@ ex_retab(eap) vcol += chartabsize(ptr + col, (colnr_T)vcol); #ifdef FEAT_MBYTE if (has_mbyte) - col += (*mb_ptr2len_check)(ptr + col); + col += (*mb_ptr2len)(ptr + col); else #endif ++col; @@ -4643,7 +4643,7 @@ do_sub(eap) } #ifdef FEAT_MBYTE else if (has_mbyte) - p1 += (*mb_ptr2len_check)(p1) - 1; + p1 += (*mb_ptr2len)(p1) - 1; #endif } @@ -5715,7 +5715,7 @@ fix_help_buffer() int l; this_utf = TRUE; - l = utf_ptr2len_check(s); + l = utf_ptr2len(s); if (l == 1) this_utf = FALSE; s += l - 1; @@ -6010,7 +6010,7 @@ helptags_one(dir, ext, tagfname) int l; this_utf8 = TRUE; - l = utf_ptr2len_check(s); + l = utf_ptr2len(s); if (l == 1) { /* Illegal UTF-8 byte sequence. */ @@ -6333,7 +6333,7 @@ ex_sign(eap) if (has_mbyte) { cells = 0; - for (s = arg; s < p; s += (*mb_ptr2len_check)(s)) + for (s = arg; s < p; s += (*mb_ptr2len)(s)) { if (!vim_isprintc((*mb_ptr2char)(s))) break; |