summaryrefslogtreecommitdiff
path: root/src/popupmnu.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/popupmnu.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/popupmnu.c')
-rw-r--r--src/popupmnu.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/popupmnu.c b/src/popupmnu.c
index fc5e1c32b..58e38176c 100644
--- a/src/popupmnu.c
+++ b/src/popupmnu.c
@@ -335,7 +335,7 @@ pum_redraw(void)
case 3: p = pum_array[idx].pum_extra; break;
}
if (p != NULL)
- for ( ; ; mb_ptr_adv(p))
+ for ( ; ; MB_PTR_ADV(p))
{
if (s == NULL)
s = p;
@@ -369,7 +369,7 @@ pum_redraw(void)
{
size -= has_mbyte
? (*mb_ptr2cells)(rt) : 1;
- mb_ptr_adv(rt);
+ MB_PTR_ADV(rt);
} while (size > pum_width);
if (size < pum_width)