summaryrefslogtreecommitdiffstats
path: root/src/gui_x11.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2005-08-10 21:07:57 +0000
committerBram Moolenaar <Bram@vim.org>2005-08-10 21:07:57 +0000
commit0fa313a71870ccc2ba63da25a7abea850f5b3d02 (patch)
treefc949b566e1d78f6eea570aab55c52b7d6a6b052 /src/gui_x11.c
parentc388fbf9d99a8950c8c9a01466cfb8baa104ee8c (diff)
updated for version 7.0127v7.0127
Diffstat (limited to 'src/gui_x11.c')
-rw-r--r--src/gui_x11.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui_x11.c b/src/gui_x11.c
index 4dc4db3206..829176b5b2 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);
}
}