summaryrefslogtreecommitdiff
path: root/src/mark.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/mark.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/mark.c')
-rw-r--r--src/mark.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mark.c b/src/mark.c
index 0265160ab..194125eb0 100644
--- a/src/mark.c
+++ b/src/mark.c
@@ -695,7 +695,7 @@ mark_line(pos_T *mp, int lead_len)
return NULL;
/* Truncate the line to fit it in the window */
len = 0;
- for (p = s; *p != NUL; mb_ptr_adv(p))
+ for (p = s; *p != NUL; MB_PTR_ADV(p))
{
len += ptr2cells(p);
if (len >= Columns - lead_len)