summaryrefslogtreecommitdiffstats
path: root/commands.c
diff options
context:
space:
mode:
authorBert Münnich <ber.t@posteo.de>2014-09-01 20:41:27 +0200
committerBert Münnich <ber.t@posteo.de>2014-09-01 20:41:33 +0200
commit2fbc21a2050d1e8e8711afce765b7d34104f45de (patch)
tree829a23443d06406aac4339fb5647fac4b24d0d77 /commands.c
parent95a7496edca2f4cffcb1e01dfa351cb0a42f07c2 (diff)
downloadnsxiv-2fbc21a2050d1e8e8711afce765b7d34104f45de.tar.zst
Simplified img_frame_animate
Diffstat (limited to 'commands.c')
-rw-r--r--commands.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/commands.c b/commands.c
index 75cb101..db73524 100644
--- a/commands.c
+++ b/commands.c
@@ -293,7 +293,7 @@ bool ci_toggle_animation(arg_t a)
if (img.multi.cnt > 0) {
img.multi.animate = !img.multi.animate;
if (img.multi.animate) {
- dirty = img_frame_animate(&img, true);
+ dirty = img_frame_animate(&img);
set_timeout(animate, img.multi.frames[img.multi.sel].delay, true);
} else {
reset_timeout(animate);