mirror of
https://github.com/neovim/neovim.git
synced 2025-10-05 17:36:29 +00:00
refactor: use int for Columns and Rows
This commit is contained in:
@@ -369,10 +369,7 @@ int mch_expand_wildcards(int num_pat, char_u **pat, int *num_file,
|
||||
// With interactive completion, the error message is not printed.
|
||||
if (!(flags & EW_SILENT)) {
|
||||
msg_putchar('\n'); // clear bottom line quickly
|
||||
#if SIZEOF_LONG > SIZEOF_INT
|
||||
assert(Rows <= (long)INT_MAX + 1);
|
||||
#endif
|
||||
cmdline_row = (int)(Rows - 1); // continue on last line
|
||||
cmdline_row = Rows - 1; // continue on last line
|
||||
MSG(_(e_wildexpand));
|
||||
msg_start(); // don't overwrite this message
|
||||
}
|
||||
|
Reference in New Issue
Block a user