[Scummvm-cvs-logs] SF.net SVN: scummvm:[47897] scummvm/trunk/engines/sci/sci.cpp
eriktorbjorn at users.sourceforge.net
eriktorbjorn at users.sourceforge.net
Fri Feb 5 08:06:44 CET 2010
Revision: 47897
http://scummvm.svn.sourceforge.net/scummvm/?rev=47897&view=rev
Author: eriktorbjorn
Date: 2010-02-05 07:06:43 +0000 (Fri, 05 Feb 2010)
Log Message:
-----------
Use strcmp() to test the game ID, not the != operator.
Modified Paths:
--------------
scummvm/trunk/engines/sci/sci.cpp
Modified: scummvm/trunk/engines/sci/sci.cpp
===================================================================
--- scummvm/trunk/engines/sci/sci.cpp 2010-02-05 04:27:51 UTC (rev 47896)
+++ scummvm/trunk/engines/sci/sci.cpp 2010-02-05 07:06:43 UTC (rev 47897)
@@ -96,7 +96,7 @@
SearchMan.addSubDirectoryMatching(_gameDataDir, "robot"); // robot files
// Add the patches directory, except in KQ6; KQ6 comes with broken patches.
- if (getGameID() != "kq6")
+ if (strcmp(getGameID(), "kq6"))
SearchMan.addSubDirectoryMatching(_gameDataDir, "patches"); // resource patches
}
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