aboutsummaryrefslogtreecommitdiff
path: root/common/advancedDetector.cpp
diff options
context:
space:
mode:
authorMax Horn2007-04-26 20:36:52 +0000
committerMax Horn2007-04-26 20:36:52 +0000
commit672ad9928a695d5b60e2bf8bd9f0fe5ce788901c (patch)
treede4f07127421f7c24a5ca0bc9baee7f4cf8b5513 /common/advancedDetector.cpp
parent02fd340b8ca0d1d7509e9a4b0c9298a65ca2bef9 (diff)
downloadscummvm-rg350-672ad9928a695d5b60e2bf8bd9f0fe5ce788901c.tar.gz
scummvm-rg350-672ad9928a695d5b60e2bf8bd9f0fe5ce788901c.tar.bz2
scummvm-rg350-672ad9928a695d5b60e2bf8bd9f0fe5ce788901c.zip
cleanup
svn-id: r26601
Diffstat (limited to 'common/advancedDetector.cpp')
-rw-r--r--common/advancedDetector.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/advancedDetector.cpp b/common/advancedDetector.cpp
index 6263ba8768..c74b3602f2 100644
--- a/common/advancedDetector.cpp
+++ b/common/advancedDetector.cpp
@@ -354,7 +354,7 @@ static ADGameDescList detectGame(const FSList *fslist, const Common::ADParams &p
break;
}
if (fileDesc->md5 != NULL) {
- if (strcmp(fileDesc->md5, filesMD5[tstr].c_str())) {
+ if (fileDesc->md5 != filesMD5[tstr]) {
debug(3, "MD5 Mismatch. Skipping (%s) (%s)", fileDesc->md5, filesMD5[tstr].c_str());
fileMissing = true;
break;