nsxivc6bddfe
Multiply i_navigate argument with number prefix
+2 −0
1 file changed
- M commands.c +2 −0
| @@ -118,6 +118,8 @@ bool i_navigate(arg_t a) { | |||
| 118 | 118 | long n = (long) a; | |
| 119 | 119 | ||
| 120 | 120 | if (mode == MODE_IMAGE) { | |
| 121 | + | if (prefix) | |
| 122 | + | n *= prefix; | |
| 121 | 123 | n += fileidx; | |
| 122 | 124 | if (n < 0) | |
| 123 | 125 | n = 0; | |