[Scummvm-cvs-logs] SF.net SVN: scummvm:[45570] scummvm/trunk/engines/sci/gui/gui_view.cpp

eriktorbjorn at users.sourceforge.net eriktorbjorn at users.sourceforge.net
Sat Oct 31 19:12:24 CET 2009


Revision: 45570
          http://scummvm.svn.sourceforge.net/scummvm/?rev=45570&view=rev
Author:   eriktorbjorn
Date:     2009-10-31 18:12:19 +0000 (Sat, 31 Oct 2009)

Log Message:
-----------
Silenced GCC warning.

Modified Paths:
--------------
    scummvm/trunk/engines/sci/gui/gui_view.cpp

Modified: scummvm/trunk/engines/sci/gui/gui_view.cpp
===================================================================
--- scummvm/trunk/engines/sci/gui/gui_view.cpp	2009-10-31 18:00:22 UTC (rev 45569)
+++ scummvm/trunk/engines/sci/gui/gui_view.cpp	2009-10-31 18:12:19 UTC (rev 45570)
@@ -476,11 +476,12 @@
 		for (y = clipRectTranslated.top; y < clipRectTranslated.top + height; y++, bitmap += celWidth) {
 			for (x = 0; x < width; x++) {
 				color = bitmap[x];
-				if (color != clearKey && priority >= _screen->getPriority(clipRectTranslated.left + x, y))
+				if (color != clearKey && priority >= _screen->getPriority(clipRectTranslated.left + x, y)) {
 					if (origHeight == -1)
 						_screen->putPixel(clipRectTranslated.left + x, y, drawMask, palette->mapping[color], priority, 0);
 					else
 						_screen->putPixelOnDisplay(clipRectTranslated.left + x, y, palette->mapping[color]);
+				}
 			}
 		}
 	} else {


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