diff options
author | Bert Münnich <ber.t@gmx.com> | 2011-10-16 18:36:25 +0200 |
---|---|---|
committer | Bert Münnich <ber.t@gmx.com> | 2011-10-16 18:36:25 +0200 |
commit | c6bddfe838621cee9cd2b538c15be5acd222f20b (patch) | |
tree | 9db39aeafb22ea2d2de87309d5cd9031d39e816d | |
parent | 8dcb54705aed7175c91d991486552d497a2e861e (diff) |
Multiply i_navigate argument with number prefix
-rw-r--r-- | commands.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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; |