Multiply i_navigate argument with number prefix

This commit is contained in:
Bert Münnich 2011-10-16 18:36:25 +02:00
parent 8dcb54705a
commit c6bddfe838

View file

@ -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;