Multiply i_navigate argument with number prefix
This commit is contained in:
parent
8dcb54705a
commit
c6bddfe838
@ -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…
Reference in New Issue
Block a user