mirror of
https://github.com/neovim/neovim.git
synced 2025-10-09 19:36:40 +00:00
refactor: use int for Columns and Rows
This commit is contained in:
@@ -3433,7 +3433,7 @@ void ex_display(exarg_T *eap)
|
||||
msg_putchar(name);
|
||||
MSG_PUTS(" ");
|
||||
|
||||
int n = (int)Columns - 6;
|
||||
int n = Columns - 6;
|
||||
for (size_t j = 0; j < yb->y_size && n > 1; j++) {
|
||||
if (j) {
|
||||
MSG_PUTS_ATTR("^J", attr);
|
||||
@@ -3525,7 +3525,7 @@ dis_msg (
|
||||
int n;
|
||||
int l;
|
||||
|
||||
n = (int)Columns - 6;
|
||||
n = Columns - 6;
|
||||
while (*p != NUL
|
||||
&& !(*p == ESC && skip_esc && *(p + 1) == NUL)
|
||||
&& (n -= ptr2cells(p)) >= 0) {
|
||||
|
Reference in New Issue
Block a user