From d38307d3bc994f88663ba5cf5798a362392ddeab Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Wed, 6 Feb 2019 20:01:13 -0600 Subject: [PATCH] Fix GIF loop frames. --- sdk/Windows/SMXPanelAnimation.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdk/Windows/SMXPanelAnimation.cpp b/sdk/Windows/SMXPanelAnimation.cpp index 31c4b9d..af4d18e 100644 --- a/sdk/Windows/SMXPanelAnimation.cpp +++ b/sdk/Windows/SMXPanelAnimation.cpp @@ -310,7 +310,7 @@ void SMXPanelAnimation::Load(const vector &frames, int pane if(marker.color[3] == 0xFF && marker.color[0] >= 0x80) { // We shouldn't see more than one of these. If we do, use the first. - if(m_iLoopFrame != -1) + if(m_iLoopFrame == -1) m_iLoopFrame = frame_no; }