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/gui_x11.c | |
parent | c388fbf9d99a8950c8c9a01466cfb8baa104ee8c (diff) | |
download | vim-git-0fa313a71870ccc2ba63da25a7abea850f5b3d02.tar.gz |
updated for version 7.0127v7.0127
Diffstat (limited to 'src/gui_x11.c')
-rw-r--r-- | src/gui_x11.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui_x11.c b/src/gui_x11.c index 4dc4db320..829176b5b 100644 --- a/src/gui_x11.c +++ b/src/gui_x11.c @@ -2530,7 +2530,7 @@ gui_mch_draw_string(row, col, s, len, flags) buf[wlen].byte2 = c; ++wlen; cells += utf_char2cells(c); - p += utf_ptr2len_check(p); + p += utf_ptr2len(p); } } else if (has_mbyte) @@ -2539,7 +2539,7 @@ gui_mch_draw_string(row, col, s, len, flags) for (p = s; p < s + len; ) { cells += ptr2cells(p); - p += (*mb_ptr2len_check)(p); + p += (*mb_ptr2len)(p); } } |