mirror of
https://github.com/neovim/neovim.git
synced 2025-10-11 04:16:47 +00:00
refactor: remove long
long is 32-bits even on 64-bit windows which makes the type suboptimal for a codebase meant to be cross-platform.
This commit is contained in:
@@ -1444,7 +1444,7 @@ static bool send_mouse_event(Terminal *term, int c)
|
||||
if (mod_mask & (MOD_MASK_SHIFT | MOD_MASK_CTRL)) {
|
||||
scroll_redraw(direction, curwin->w_botline - curwin->w_topline);
|
||||
} else if (p_mousescroll_vert > 0) {
|
||||
scroll_redraw(direction, p_mousescroll_vert);
|
||||
scroll_redraw(direction, (linenr_T)p_mousescroll_vert);
|
||||
}
|
||||
|
||||
curwin->w_redr_status = true;
|
||||
|
Reference in New Issue
Block a user