Simplified img_frame_animate

This commit is contained in:
Bert Münnich
2014-09-01 20:41:27 +02:00
parent 95a7496edc
commit 2fbc21a205
4 changed files with 8 additions and 13 deletions

2
main.c
View File

@ -449,7 +449,7 @@ void reset_cursor(void)
void animate(void)
{
if (img_frame_animate(&img, false)) {
if (img_frame_animate(&img)) {
redraw();
set_timeout(animate, img.multi.frames[img.multi.sel].delay, true);
}