All pastes #46644 Raw Edit

Anonymous

public text v1 · immutable
#46644 ·published 2006-03-22 21:04 UTC
rendered paste body
Index: libs/libmythtv/osd.cpp
===================================================================
--- libs/libmythtv/osd.cpp      (revision 9452)
+++ libs/libmythtv/osd.cpp      (working copy)
@@ -2373,9 +2373,11 @@

             container->Draw(drawSurface, actuallydraw);
             anytodisplay = true;
-            if (container->GetTimeLeft() == 0 && totalfadetime > 0)
+            if (container->GetTimeLeft() == 0 && totalfadetime >= 0)
             {
-                container->FadeFor(totalfadetime);
+                if (totalfadetime > 0) {
+                    container->FadeFor(totalfadetime);
+                }
                 changed = true;
             }