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/mouse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/nvim/mouse.c') diff --git a/src/nvim/mouse.c b/src/nvim/mouse.c index 6f636f643a..b78adbd989 100644 --- a/src/nvim/mouse.c +++ b/src/nvim/mouse.c @@ -525,7 +525,7 @@ static colnr_T scroll_line_len(linenr_T lnum) if (*line != NUL) { for (;;) { int numchar = chartabsize(line, col); - mb_ptr_adv(line); + MB_PTR_ADV(line); if (*line == NUL) { // don't count the last character break; } -- cgit