From 867940ea85495ac4e8e23efbb574fd9d86bccf42 Mon Sep 17 00:00:00 2001 From: Bert Münnich Date: Sun, 16 Oct 2011 17:39:22 +0200 Subject: Pan by pixel count, if number prefix given --- commands.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'commands.c') diff --git a/commands.c b/commands.c index 6d9ff38..db0a808 100644 --- a/commands.c +++ b/commands.c @@ -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; } -- cgit v1.2.3-54-g00ecf