[Scummvm-cvs-logs] SF.net SVN: scummvm: [24240] scummvm/trunk/gui/ThemeClassic.cpp

lordhoto at users.sourceforge.net lordhoto at users.sourceforge.net
Sun Oct 8 23:25:11 CEST 2006


Revision: 24240
          http://svn.sourceforge.net/scummvm/?rev=24240&view=rev
Author:   lordhoto
Date:     2006-10-08 14:25:06 -0700 (Sun, 08 Oct 2006)

Log Message:
-----------
Cleanup.

Modified Paths:
--------------
    scummvm/trunk/gui/ThemeClassic.cpp

Modified: scummvm/trunk/gui/ThemeClassic.cpp
===================================================================
--- scummvm/trunk/gui/ThemeClassic.cpp	2006-10-08 21:24:56 UTC (rev 24239)
+++ scummvm/trunk/gui/ThemeClassic.cpp	2006-10-08 21:25:06 UTC (rev 24240)
@@ -505,8 +505,6 @@
 			dst += _screen.w;
 		}
 	} else {
-		if (_dialog)
-			_dialog->screen.fillRect(r, _bgcolor);
 		_screen.fillRect(r, _bgcolor);
 	}
 #endif
@@ -584,7 +582,7 @@
 void ThemeClassic::blendScreenToDialog() {
 	Common::Rect rect(0, 0, _screen.w, _screen.h);
 
-	if (!rect.isValidRect() || !_enableBlending)
+	if (!rect.isValidRect())
 		return;
 
 	if (_system->hasFeature(OSystem::kFeatureOverlaySupportsAlpha)) {


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list