From 1cd871b5341bf43ee99e136844e3131014880f92 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Sun, 19 Dec 2004 22:46:22 +0000 Subject: updated for version 7.0023 --- src/ui.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'src/ui.c') diff --git a/src/ui.c b/src/ui.c index ac88dc6ab..dd410c540 100644 --- a/src/ui.c +++ b/src/ui.c @@ -2952,12 +2952,7 @@ vcol2col(wp, lnum, vcol) { ++col; count += win_lbr_chartabsize(wp, ptr, count, NULL); -# ifdef FEAT_MBYTE - if (has_mbyte) - ptr += (*mb_ptr2len_check)(ptr); - else -# endif - ++ptr; + mb_ptr_adv(ptr); } return col; } -- cgit v1.2.1