mirror of
https://github.com/neovim/neovim.git
synced 2025-10-04 00:46:30 +00:00
refactor: remove redundant casts
This commit is contained in:
@@ -2924,8 +2924,8 @@ void spell_suggest(int count)
|
||||
|
||||
// Get the list of suggestions. Limit to 'lines' - 2 or the number in
|
||||
// 'spellsuggest', whatever is smaller.
|
||||
if (sps_limit > (int)Rows - 2) {
|
||||
limit = (int)Rows - 2;
|
||||
if (sps_limit > Rows - 2) {
|
||||
limit = Rows - 2;
|
||||
} else {
|
||||
limit = sps_limit;
|
||||
}
|
||||
|
Reference in New Issue
Block a user