Browse Source

Multiply i_navigate argument with number prefix

master
Bert Münnich 13 years ago
parent
commit
c6bddfe838
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      commands.c

+ 2
- 0
commands.c View File

@@ -118,6 +118,8 @@ bool i_navigate(arg_t a) {
long n = (long) a; long n = (long) a;


if (mode == MODE_IMAGE) { if (mode == MODE_IMAGE) {
if (prefix)
n *= prefix;
n += fileidx; n += fileidx;
if (n < 0) if (n < 0)
n = 0; n = 0;


Loading…
Cancel
Save