diff options
author | Bram Moolenaar <Bram@vim.org> | 2010-07-26 22:51:28 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2010-07-26 22:51:28 +0200 |
commit | 5e109c4ab009a5b4c3bb769d8b2d22f9e4ee2c87 (patch) | |
tree | 3bf319d351e36d9576d149428e34663739e8a4ae /src/normal.c | |
parent | 0ed0eea20689b3bdafe296f4e132679d3977b943 (diff) | |
download | vim-git-5e109c4ab009a5b4c3bb769d8b2d22f9e4ee2c87.tar.gz |
Fix compiler warnings on 64 bit systems.
Diffstat (limited to 'src/normal.c')
-rw-r--r-- | src/normal.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/normal.c b/src/normal.c index d880ee60d..9e75afc9e 100644 --- a/src/normal.c +++ b/src/normal.c @@ -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); |