0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

Fix compiler warnings on 64 bit systems.

This commit is contained in:
Bram Moolenaar
2010-07-26 22:51:28 +02:00
parent 0ed0eea206
commit 5e109c4ab0
4 changed files with 7 additions and 6 deletions

View File

@@ -4582,6 +4582,7 @@ nv_mousescroll(cap)
if (!curwin->w_p_wrap)
{
int val, step = 6;
if (mod_mask & (MOD_MASK_SHIFT | MOD_MASK_CTRL))
step = W_WIDTH(curwin);
val = curwin->w_leftcol + (cap->arg == MSCR_RIGHT ? -step : +step);