diff options
author | Bert Münnich <ber.t@gmx.com> | 2011-10-16 17:39:22 +0200 |
---|---|---|
committer | Bert Münnich <ber.t@gmx.com> | 2011-10-16 17:39:22 +0200 |
commit | 867940ea85495ac4e8e23efbb574fd9d86bccf42 (patch) | |
tree | 6dc435cef2386dc37265d6dde787c1cf35f47e4f /commands.c | |
parent | dc727b8dce89811d755ed03d11688b13a42e794a (diff) | |
download | nsxiv-867940ea85495ac4e8e23efbb574fd9d86bccf42.tar.zst |
Pan by pixel count, if number prefix given
Diffstat (limited to 'commands.c')
-rw-r--r-- | commands.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -184,7 +184,7 @@ bool it_move(arg_t a) { direction_t dir = (direction_t) a; if (mode == MODE_IMAGE) - return img_pan(&img, dir, false); + return img_pan(&img, dir, prefix); else return tns_move_selection(&tns, dir); } @@ -193,7 +193,7 @@ bool i_pan_screen(arg_t a) { direction_t dir = (direction_t) a; if (mode == MODE_IMAGE) - return img_pan(&img, dir, true); + return img_pan(&img, dir, -1); else return false; } |