fix spinner when no pictures available
authorFelix Domke <tmbinc@elitedvb.net>
Sun, 9 Sep 2007 09:51:26 +0000 (09:51 +0000)
committerFelix Domke <tmbinc@elitedvb.net>
Sun, 9 Sep 2007 09:51:26 +0000 (09:51 +0000)
main/enigma.cpp

index 8a5dfa8..64088cb 100644 (file)
@@ -231,6 +231,8 @@ int main(int argc, char **argv)
                }
                if (i)
                        my_dc->setSpinner(eRect(ePoint(100, 100), wait[0]->size()), wait, i);
+               else
+                       my_dc->setSpinner(eRect(100, 100, 0, 0), wait, 1);
        }
        
        gRC::getInstance()->setSpinnerDC(my_dc);