aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.c b/main.c
index 732e690..0bd923e 100644
--- a/main.c
+++ b/main.c
@@ -470,8 +470,8 @@ void reset_cursor(void)
void animate(void)
{
if (img_frame_animate(&img)) {
- redraw();
set_timeout(animate, img.multi.frames[img.multi.sel].delay, true);
+ redraw();
}
}