From 393b41879022810832f07b4ee12590f07ad4accf Mon Sep 17 00:00:00 2001
From: Gavin Hurlbut <ghurlbut@mythtv.org>
Date: Wed, 17 Nov 2010 00:28:54 +0000
Subject: Potential fix for #9236
---
diff --git a/mythtv/libs/libmythui/mythuiimage.cpp b/mythtv/libs/libmythui/mythuiimage.cpp
index 8983421..aea84e6 100644
a
|
b
|
bool MythUIImage::Load(bool allowLoadInBackground, bool forceStat) |
568 | 568 | QString imagelabel; |
569 | 569 | |
570 | 570 | int j = 0; |
571 | | for (int i = m_LowNum; i <= m_HighNum && !m_animatedImage; i++) |
| 571 | for (int i = m_LowNum; (i == m_LowNum && !m_animatedImage) || |
| 572 | (i <= m_HighNum && m_animatedImage); i++) |
572 | 573 | { |
573 | 574 | if (!m_animatedImage && m_HighNum >= 1) |
574 | 575 | filename = bFilename.arg(i); |