mirror of
https://github.com/neovim/neovim.git
synced 2025-10-05 09:26:30 +00:00
vim-patch:8.2.4241: some type casts are redundant
Problem: Some type casts are redundant.
Solution: Remove the type casts. (closes vim/vim#9643)
420fabcd4f
This is not a literal port but an equivalent one.
This commit is contained in:
@@ -2093,7 +2093,7 @@ void list_in_columns(char_u **items, int size, int current)
|
||||
|
||||
// The rightmost column doesn't need a separator.
|
||||
// Sacrifice it to fit in one more column if possible.
|
||||
int ncol = (int)(Columns + 1) / width;
|
||||
int ncol = (Columns + 1) / width;
|
||||
int nrow = item_count / ncol + (item_count % ncol ? 1 : 0);
|
||||
int cur_row = 1;
|
||||
|
||||
|
Reference in New Issue
Block a user