summaryrefslogtreecommitdiff
path: root/src/ui.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2017-03-12 19:22:36 +0100
committerBram Moolenaar <Bram@vim.org>2017-03-12 19:22:36 +0100
commit91acfffc1e6c0d8c2abfb186a0e79a5bf19c3f3f (patch)
tree1923145c992a09b3adc06e40f02284ff0ef21bbd /src/ui.c
parent47ffb905f363571072faefbd417938e7ff351a9f (diff)
downloadvim-git-91acfffc1e6c0d8c2abfb186a0e79a5bf19c3f3f.tar.gz
patch 8.0.0451: some macros are in lower casev8.0.0451
Problem: Some macros are in lower case. Solution: Make a few more macros upper case. Avoid lower case macros use an argument twice.
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);
}