diff options
| author | oldmud0 <oldmud0@users.noreply.github.com> | 2020-03-22 14:48:35 -0500 |
|---|---|---|
| committer | oldmud0 <oldmud0@users.noreply.github.com> | 2020-03-22 15:25:13 -0500 |
| commit | ede1236b704a08b4abf1aa8e16eb0384f33b1fe5 (patch) | |
| tree | 9a55058cd6601c3be43eda63c9782308303665c9 /src | |
| parent | 04d186e7c0d723d32c471b8dc64bbdff23205c68 (diff) | |
Fix syntax error introduced in 530721f
Diffstat (limited to 'src')
| -rw-r--r-- | src/aocharmovie.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/aocharmovie.cpp b/src/aocharmovie.cpp index 4de6366c..ca0d152e 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) |
