[Scummvm-cvs-logs] SF.net SVN: scummvm:[52144] scummvm/trunk/engines/draci/script.cpp

sev at users.sourceforge.net sev at users.sourceforge.net
Tue Aug 17 12:59:12 CEST 2010


Revision: 52144
          http://scummvm.svn.sourceforge.net/scummvm/?rev=52144&view=rev
Author:   sev
Date:     2010-08-17 10:59:11 +0000 (Tue, 17 Aug 2010)

Log Message:
-----------
DRACI: Fix warnings

Modified Paths:
--------------
    scummvm/trunk/engines/draci/script.cpp

Modified: scummvm/trunk/engines/draci/script.cpp
===================================================================
--- scummvm/trunk/engines/draci/script.cpp	2010-08-17 10:26:12 UTC (rev 52143)
+++ scummvm/trunk/engines/draci/script.cpp	2010-08-17 10:59:11 UTC (rev 52144)
@@ -967,7 +967,7 @@
 			func = _functionList[value-1];
 
 			// If not yet implemented
-			if (func._handler == NULL) {
+			if (func._handler == 0) {
 				stk.pop();
 
 				// Pushing dummy value
@@ -1170,7 +1170,7 @@
 
 		GPLHandler handler = cmd->_handler;
 
-		if (handler != NULL) {
+		if (handler != 0) {
 			// Call the handler for the current command
 			(this->*(cmd->_handler))(params);
 		}


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