summaryrefslogtreecommitdiff
path: root/src/gui_w32.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_w32.c
parentc388fbf9d99a8950c8c9a01466cfb8baa104ee8c (diff)
downloadvim-git-0fa313a71870ccc2ba63da25a7abea850f5b3d02.tar.gz
updated for version 7.0127v7.0127
Diffstat (limited to 'src/gui_w32.c')
-rw-r--r--src/gui_w32.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui_w32.c b/src/gui_w32.c
index 52c8abeaf..6ff5fc649 100644
--- a/src/gui_w32.c
+++ b/src/gui_w32.c
@@ -2039,7 +2039,7 @@ gui_mch_draw_string(
unicodepdy[clen] = cw * gui.char_width;
}
cells += cw;
- i += utfc_ptr2len_check_len(text + i, len - i);
+ i += utfc_ptr2len_len(text + i, len - i);
++clen;
}
ExtTextOutW(s_hdc, TEXT_X(col), TEXT_Y(row),
@@ -2818,7 +2818,7 @@ gui_mch_dialog(
for (pend = pstart; *pend != NUL && *pend != '\n'; )
{
#ifdef FEAT_MBYTE
- l = mb_ptr2len_check(pend);
+ l = (*mb_ptr2len)(pend);
#else
l = 1;
#endif