summaryrefslogtreecommitdiff
path: root/src/ops.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/ops.c
parentc388fbf9d99a8950c8c9a01466cfb8baa104ee8c (diff)
downloadvim-git-0fa313a71870ccc2ba63da25a7abea850f5b3d02.tar.gz
updated for version 7.0127v7.0127
Diffstat (limited to 'src/ops.c')
-rw-r--r--src/ops.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/ops.c b/src/ops.c
index b5492c680..6fc4f7514 100644
--- a/src/ops.c
+++ b/src/ops.c
@@ -420,7 +420,7 @@ shift_block(oap, amount)
{
#ifdef FEAT_MBYTE
if (has_mbyte)
- bd.textstart += (*mb_ptr2len_check)(bd.textstart);
+ bd.textstart += (*mb_ptr2len)(bd.textstart);
#endif
++bd.textstart;
}
@@ -3324,7 +3324,7 @@ do_put(regname, dir, count, flags)
#ifdef FEAT_MBYTE
if (has_mbyte)
/* move to start of next multi-byte character */
- curwin->w_cursor.col += (*mb_ptr2len_check)(ml_get_cursor());
+ curwin->w_cursor.col += (*mb_ptr2len)(ml_get_cursor());
else
#endif
#ifdef FEAT_VIRTUALEDIT
@@ -3490,7 +3490,7 @@ do_put(regname, dir, count, flags)
#ifdef FEAT_MBYTE
if (has_mbyte)
{
- int bytelen = (*mb_ptr2len_check)(ml_get_cursor());
+ int bytelen = (*mb_ptr2len)(ml_get_cursor());
/* put it on the next of the multi-byte character. */
col += bytelen;
@@ -3842,7 +3842,7 @@ ex_display(eap)
for (p = yb->y_array[j]; *p && (n -= ptr2cells(p)) >= 0; ++p)
{
#ifdef FEAT_MBYTE
- clen = (*mb_ptr2len_check)(p);
+ clen = (*mb_ptr2len)(p);
#endif
msg_outtrans_len(p, clen);
#ifdef FEAT_MBYTE
@@ -3945,7 +3945,7 @@ dis_msg(p, skip_esc)
&& (n -= ptr2cells(p)) >= 0)
{
#ifdef FEAT_MBYTE
- if (has_mbyte && (l = (*mb_ptr2len_check)(p)) > 1)
+ if (has_mbyte && (l = (*mb_ptr2len)(p)) > 1)
{
msg_outtrans_len(p, l);
p += l;
@@ -5974,7 +5974,7 @@ line_count_info(line, wc, cc, limit, eol_size)
is_word = 1;
++chars;
#ifdef FEAT_MBYTE
- i += mb_ptr2len_check(line + i);
+ i += (*mb_ptr2len)(line + i);
#else
++i;
#endif