diff options
-rw-r--r-- | commands.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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; |
index : nsxiv | ||
neo simple X image viewer. | sinan@sinanmohd.com |
aboutsummaryrefslogtreecommitdiff |
-rw-r--r-- | commands.c | 2 |
@@ -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; |