From 672ad9928a695d5b60e2bf8bd9f0fe5ce788901c Mon Sep 17 00:00:00 2001 From: Max Horn Date: Thu, 26 Apr 2007 20:36:52 +0000 Subject: cleanup svn-id: r26601 --- common/advancedDetector.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'common/advancedDetector.cpp') 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; -- cgit v1.2.3