mirror of
https://github.com/neovim/neovim.git
synced 2025-10-07 02:16:31 +00:00
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.
91acfffc1e
This commit is contained in:
@@ -374,7 +374,7 @@ void pum_redraw(void)
|
||||
}
|
||||
|
||||
if (p != NULL) {
|
||||
for (;; mb_ptr_adv(p)) {
|
||||
for (;; MB_PTR_ADV(p)) {
|
||||
if (s == NULL) {
|
||||
s = p;
|
||||
}
|
||||
@@ -398,7 +398,7 @@ void pum_redraw(void)
|
||||
if (size > pum_width) {
|
||||
do {
|
||||
size -= has_mbyte ? (*mb_ptr2cells)(rt) : 1;
|
||||
mb_ptr_adv(rt);
|
||||
MB_PTR_ADV(rt);
|
||||
} while (size > pum_width);
|
||||
|
||||
if (size < pum_width) {
|
||||
|
Reference in New Issue
Block a user