[Scummvm-cvs-logs] SF.net SVN: scummvm:[48094] scummvm/trunk/engines/cruise/background.cpp
dreammaster at users.sourceforge.net
dreammaster at users.sourceforge.net
Sat Feb 20 11:32:26 CET 2010
Revision: 48094
http://scummvm.svn.sourceforge.net/scummvm/?rev=48094&view=rev
Author: dreammaster
Date: 2010-02-20 10:32:25 +0000 (Sat, 20 Feb 2010)
Log Message:
-----------
Reverted commit 48092 - The comparison is explicitly intended to detect if the background table field was passed to the method, so it won't try to do a redundant copy to itself
Modified Paths:
--------------
scummvm/trunk/engines/cruise/background.cpp
Modified: scummvm/trunk/engines/cruise/background.cpp
===================================================================
--- scummvm/trunk/engines/cruise/background.cpp 2010-02-20 01:58:46 UTC (rev 48093)
+++ scummvm/trunk/engines/cruise/background.cpp 2010-02-20 10:32:25 UTC (rev 48094)
@@ -210,7 +210,7 @@
MemFree(ptrToFree);
- if (strcmp(name, backgroundTable[idx].name)) {
+ 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