summaryrefslogtreecommitdiff
path: root/src/ui.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui.c')
-rw-r--r--src/ui.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui.c b/src/ui.c
index d89c500ae..cc1ef18bb 100644
--- a/src/ui.c
+++ b/src/ui.c
@@ -3192,7 +3192,7 @@ vcol2col(win_T *wp, linenr_T lnum, int vcol)
while (count < vcol && *ptr != NUL)
{
count += win_lbr_chartabsize(wp, line, ptr, count, NULL);
- mb_ptr_adv(ptr);
+ MB_PTR_ADV(ptr);
}
return (int)(ptr - line);
}