[Scummvm-cvs-logs] SF.net SVN: scummvm:[48096] scummvm/trunk/engines/cruise/background.cpp

peres001 at users.sourceforge.net peres001 at users.sourceforge.net
Sat Feb 20 13:29:34 CET 2010


Revision: 48096
          http://scummvm.svn.sourceforge.net/scummvm/?rev=48096&view=rev
Author:   peres001
Date:     2010-02-20 12:29:34 +0000 (Sat, 20 Feb 2010)

Log Message:
-----------
Added comment to explain pointer comparison. See r48092 and r48904.

Modified Paths:
--------------
    scummvm/trunk/engines/cruise/background.cpp

Modified: scummvm/trunk/engines/cruise/background.cpp
===================================================================
--- scummvm/trunk/engines/cruise/background.cpp	2010-02-20 10:37:08 UTC (rev 48095)
+++ scummvm/trunk/engines/cruise/background.cpp	2010-02-20 12:29:34 UTC (rev 48096)
@@ -210,6 +210,8 @@
 
 	MemFree(ptrToFree);
 
+	// NOTE: the following is really meant to compare pointers and not the actual
+	// strings. See r48092 and r48094.
 	if (name != backgroundTable[idx].name) {
 		if (strlen(name) >= sizeof(backgroundTable[idx].name)) 
 			warning("background name length exceeded allowable maximum");


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