vim-patch:8.2.4649: various formatting problems

Problem:    Various formatting problems.
Solution:   Improve the code formatting.
b4ad3b0dea
This commit is contained in:
zeertzjq
2022-03-30 18:30:36 +08:00
parent 4ca14b310c
commit 06cf205ace
4 changed files with 7 additions and 5 deletions

View File

@@ -3893,7 +3893,7 @@ void ex_display(exarg_T *eap)
msg_puts_attr("^J", attr);
n -= 2;
}
for (p = yb->y_array[j]; *p && (n -= ptr2cells(p)) >= 0; p++) { // -V1019
for (p = yb->y_array[j]; *p != NUL && (n -= ptr2cells(p)) >= 0; p++) { // -V1019
clen = utfc_ptr2len(p);
msg_outtrans_len(p, clen);
p += clen - 1;