diff options
author | Gregory Montoir | 2008-12-13 09:39:00 +0000 |
---|---|---|
committer | Gregory Montoir | 2008-12-13 09:39:00 +0000 |
commit | 0e2864692e617c1bc2953ebe9efea54f378b79a3 (patch) | |
tree | 7c5360f9443bc35ae2b564be96296ca11d851fe6 | |
parent | 48f5e51c7753957391aabbf9f901e90d95d7d88d (diff) | |
download | scummvm-rg350-0e2864692e617c1bc2953ebe9efea54f378b79a3.tar.gz scummvm-rg350-0e2864692e617c1bc2953ebe9efea54f378b79a3.tar.bz2 scummvm-rg350-0e2864692e617c1bc2953ebe9efea54f378b79a3.zip |
fixed bug #2423037, wrong demo version detection
svn-id: r35332
-rw-r--r-- | engines/tucker/detection.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/tucker/detection.cpp b/engines/tucker/detection.cpp index e6337ac913..421d7a4615 100644 --- a/engines/tucker/detection.cpp +++ b/engines/tucker/detection.cpp @@ -127,9 +127,9 @@ public: 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; } } |