Krolyxon
Commit c6bddfe

Branches

Refs →

nsxivc6bddfe

Multiply i_navigate argument with number prefix

Author
Bert Münnich
Date
2011-10-16 18:36 +0200
Parent
8dcb547
Commit
c6bddfe838621cee9cd2b538c15be5acd222f20b

+2 −0

1 file changed

  1. M commands.c +2 −0
M commands.c View
@@ -118,6 +118,8 @@ bool i_navigate(arg_t a) {
118118 long n = (long) a;
119119
120120 if (mode == MODE_IMAGE) {
121+ if (prefix)
122+ n *= prefix;
121123 n += fileidx;
122124 if (n < 0)
123125 n = 0;