[Scummvm-cvs-logs] SF.net SVN: scummvm:[53487] scummvm/trunk/engines/made/screen.cpp

thebluegr at users.sourceforge.net thebluegr at users.sourceforge.net
Fri Oct 15 15:00:19 CEST 2010


Revision: 53487
          http://scummvm.svn.sourceforge.net/scummvm/?rev=53487&view=rev
Author:   thebluegr
Date:     2010-10-15 13:00:19 +0000 (Fri, 15 Oct 2010)

Log Message:
-----------
MADE: Fixed bug #3087849 - "MADE: Code analysis warnings"

Modified Paths:
--------------
    scummvm/trunk/engines/made/screen.cpp

Modified: scummvm/trunk/engines/made/screen.cpp
===================================================================
--- scummvm/trunk/engines/made/screen.cpp	2010-10-15 12:56:17 UTC (rev 53486)
+++ scummvm/trunk/engines/made/screen.cpp	2010-10-15 13:00:19 UTC (rev 53487)
@@ -204,7 +204,7 @@
 	for (int16 yc = 0; yc < clipHeight; yc++) {
 		linePtr = source + sourceAdd;
 		for (int16 xc = 0; xc < clipWidth; xc++) {
-			if (*linePtr && (_vm->getGameID() == GID_RTZ || (mask == 0 || maskp[xc] == 0))) {
+			if (*linePtr && (_vm->getGameID() == GID_RTZ || (mask == 0 || (maskp && maskp[xc] == 0)))) {
 				if (*linePtr)
 					dest[xc] = *linePtr;
 			}


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