diff options
author | Jan Edmund Lazo <janedmundlazo@hotmail.com> | 2018-06-11 23:43:14 -0400 |
---|---|---|
committer | Jan Edmund Lazo <janedmundlazo@hotmail.com> | 2018-06-12 02:00:50 -0400 |
commit | 3c7ea8d619d77d303e9c51118b22c81a3ffbf550 (patch) | |
tree | ef78d44a18dca24302546d98a67861940d471e5f /src/nvim/misc1.c | |
parent | fa2ad305e312c3e61e4943c345a4c34d4a1be18c (diff) | |
download | rneovim-3c7ea8d619d77d303e9c51118b22c81a3ffbf550.tar.gz rneovim-3c7ea8d619d77d303e9c51118b22c81a3ffbf550.tar.bz2 rneovim-3c7ea8d619d77d303e9c51118b22c81a3ffbf550.zip |
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
Diffstat (limited to 'src/nvim/misc1.c')
-rw-r--r-- | src/nvim/misc1.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/misc1.c b/src/nvim/misc1.c index a5da9d3220..5678360ef0 100644 --- a/src/nvim/misc1.c +++ b/src/nvim/misc1.c @@ -531,7 +531,7 @@ open_line ( int l; while (old_size < repl_size && p > leader) { - mb_ptr_back(leader, p); + MB_PTR_BACK(leader, p); old_size += ptr2cells(p); } l = lead_repl_len - (int)(endp - p); @@ -1311,7 +1311,7 @@ int plines_win_col(win_T *wp, linenr_T lnum, long column) colnr_T col = 0; while (*s != NUL && --column >= 0) { col += win_lbr_chartabsize(wp, line, s, col, NULL); - mb_ptr_adv(s); + MB_PTR_ADV(s); } // If *s is a TAB, and the TAB is not displayed as ^I, and we're not in |