From c6bddfe838621cee9cd2b538c15be5acd222f20b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bert=20M=C3=BCnnich?= Date: Sun, 16 Oct 2011 18:36:25 +0200 Subject: Multiply i_navigate argument with number prefix --- commands.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/commands.c b/commands.c index ea0a425..920e590 100644 --- a/commands.c +++ b/commands.c @@ -118,6 +118,8 @@ bool i_navigate(arg_t a) { long n = (long) a; if (mode == MODE_IMAGE) { + if (prefix) + n *= prefix; n += fileidx; if (n < 0) n = 0; -- cgit v1.2.3