[Scummvm-cvs-logs] SF.net SVN: scummvm:[35332] scummvm/trunk/engines/tucker/detection.cpp

cyx at users.sourceforge.net cyx at users.sourceforge.net
Sat Dec 13 10:39:01 CET 2008


Revision: 35332
          http://scummvm.svn.sourceforge.net/scummvm/?rev=35332&view=rev
Author:   cyx
Date:     2008-12-13 09:39:00 +0000 (Sat, 13 Dec 2008)

Log Message:
-----------
fixed bug #2423037, wrong demo version detection

Modified Paths:
--------------
    scummvm/trunk/engines/tucker/detection.cpp

Modified: scummvm/trunk/engines/tucker/detection.cpp
===================================================================
--- scummvm/trunk/engines/tucker/detection.cpp	2008-12-13 08:40:04 UTC (rev 35331)
+++ scummvm/trunk/engines/tucker/detection.cpp	2008-12-13 09:39:00 UTC (rev 35332)
@@ -127,9 +127,9 @@
 	virtual const Common::ADGameDescription *fallbackDetect(const Common::FSList &fslist) const {
 		for (Common::FSList::const_iterator d = fslist.begin(); d != fslist.end(); ++d) {
 			Common::FSList audiofslist;
-			if (d->isDirectory() && d->getName().compareToIgnoreCase("audio") && d->getChildren(audiofslist, Common::FSNode::kListFilesOnly)) {
+			if (d->isDirectory() && d->getName().equalsIgnoreCase("audio") && d->getChildren(audiofslist, Common::FSNode::kListFilesOnly)) {
 				for (Common::FSList::const_iterator f = audiofslist.begin(); f != audiofslist.end(); ++f) {
-					if (!f->isDirectory() && f->getName().compareToIgnoreCase("demorolc.raw")) {
+					if (!f->isDirectory() && f->getName().equalsIgnoreCase("demorolc.raw")) {
 						return &tuckerDemoGameDescription;
 					}
 				}


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