aboutsummaryrefslogtreecommitdiffstats
path: root/commands.c
diff options
context:
space:
mode:
authorBert Münnich <ber.t@posteo.de>2015-12-26 15:24:08 +0100
committerBert Münnich <ber.t@posteo.de>2015-12-26 15:24:08 +0100
commitf75fa78ecaea43204e5e6abdf568139a7b621d6d (patch)
tree895b71e9ca8047d2f0f51898fdd6a8a5aaca9840 /commands.c
parent4db3029bc609043f4aa029b36f9d1e9dfcc5e8e2 (diff)
downloadnsxiv-f75fa78ecaea43204e5e6abdf568139a7b621d6d.tar.zst
Make navigate_frame command respect a count prefix
Diffstat (limited to 'commands.c')
-rw-r--r--commands.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/commands.c b/commands.c
index ab1e805..7b0f457 100644
--- a/commands.c
+++ b/commands.c
@@ -289,6 +289,8 @@ bool ci_alternate(arg_t _)
bool ci_navigate_frame(arg_t d)
{
+ if (prefix > 0)
+ d *= prefix;
return !img.multi.animate && img_frame_navigate(&img, d);
}