From 3c7ea8d619d77d303e9c51118b22c81a3ffbf550 Mon Sep 17 00:00:00 2001 From: Jan Edmund Lazo Date: Mon, 11 Jun 2018 23:43:14 -0400 Subject: vim-patch:8.0.0451: some macros are in lower case Problem: Some macros are in lower case. Solution: Make a few more macros upper case. Avoid lower case macros use an argument twice. https://github.com/vim/vim/commit/91acfffc1e6c0d8c2abfb186a0e79a5bf19c3f3f --- src/nvim/message.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/nvim/message.c') diff --git a/src/nvim/message.c b/src/nvim/message.c index 7935bcbc2f..2643d644a9 100644 --- a/src/nvim/message.c +++ b/src/nvim/message.c @@ -2935,7 +2935,7 @@ static char_u * console_dialog_alloc(const char_u *message, } // Advance to the next character - mb_ptr_adv(r); + MB_PTR_ADV(r); } len += (int)(STRLEN(message) @@ -3053,7 +3053,7 @@ static void copy_hotkeys_and_msg(const char_u *message, char_u *buttons, } // advance to the next character - mb_ptr_adv(r); + MB_PTR_ADV(r); } *msgp++ = ':'; -- cgit