From ede1236b704a08b4abf1aa8e16eb0384f33b1fe5 Mon Sep 17 00:00:00 2001 From: oldmud0 Date: Sun, 22 Mar 2020 14:48:35 -0500 Subject: [PATCH] Fix syntax error introduced in 530721f --- src/aocharmovie.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/aocharmovie.cpp b/src/aocharmovie.cpp index 4de6366..ca0d152 100644 --- a/src/aocharmovie.cpp +++ b/src/aocharmovie.cpp @@ -178,15 +178,15 @@ void AOCharMovie::movie_ticker() // imagine if QT had sane stuff like "mirror on QMovie" or "resize the image on QT" or "interface with the current QMovie image" or anything else this->play_frame_sfx(); - if (m_movie->frameCount() == 0) { - //qDebug() << "Frame count was checked again, and it's still 0"; + + if (m_movie->frameCount() == 0) + { return; } - else if(!apng) { - ticker->start(m_movie->nextFrameDelay()); + else if (!apng) + { + ticker->start(m_movie->nextFrameDelay()); } - } - } void AOCharMovie::LoadImageWithStupidMethodForFlipSupport(QImage image)