[Scummvm-cvs-logs] CVS: scummvm/gui ThemeNew.cpp,1.2,1.3

Pawel Kolodziejski aquadran at users.sourceforge.net
Fri Jan 27 08:48:01 CET 2006


Update of /cvsroot/scummvm/scummvm/gui
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2178

Modified Files:
	ThemeNew.cpp 
Log Message:
fixed warning

Index: ThemeNew.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/gui/ThemeNew.cpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- ThemeNew.cpp	27 Jan 2006 15:59:29 -0000	1.2
+++ ThemeNew.cpp	27 Jan 2006 16:46:56 -0000	1.3
@@ -329,7 +329,7 @@
 						(state == kStateDisabled) ? 128 : 256, _colors[kWidgetBackgroundStart], _colors[kWidgetBackgroundEnd], 2);
 	}
 
-	addDirtyRect(r, (hints & THEME_HINT_SAVE_BACKGROUND));
+	addDirtyRect(r, (hints & THEME_HINT_SAVE_BACKGROUND) != 0);
 }
 
 void ThemeNew::drawButton(const Common::Rect &r, const Common::String &str, kState state) {





More information about the Scummvm-git-logs mailing list