diff options
author | zeertzjq <zeertzjq@outlook.com> | 2022-03-30 18:30:36 +0800 |
---|---|---|
committer | zeertzjq <zeertzjq@outlook.com> | 2022-03-30 20:32:27 +0800 |
commit | 06cf205aced6b0d5b7ae919665f2ab3fd81ab960 (patch) | |
tree | 0a2e9229bbb54fc6b16d4a9bc1cd8f6b2a2ab982 /src/nvim/ops.c | |
parent | 4ca14b310cc385bd7ebb6e478ee5cc249f26556e (diff) | |
download | rneovim-06cf205aced6b0d5b7ae919665f2ab3fd81ab960.tar.gz rneovim-06cf205aced6b0d5b7ae919665f2ab3fd81ab960.tar.bz2 rneovim-06cf205aced6b0d5b7ae919665f2ab3fd81ab960.zip |
vim-patch:8.2.4649: various formatting problems
Problem: Various formatting problems.
Solution: Improve the code formatting.
https://github.com/vim/vim/commit/b4ad3b0deac12674a7773311890b48fd39c6807c
Diffstat (limited to 'src/nvim/ops.c')
-rw-r--r-- | src/nvim/ops.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/ops.c b/src/nvim/ops.c index 4404ee7b80..dab6d237bf 100644 --- a/src/nvim/ops.c +++ b/src/nvim/ops.c @@ -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; |