aboutsummaryrefslogtreecommitdiff
path: root/engines/draci/saveload.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/draci/saveload.cpp')
-rw-r--r--engines/draci/saveload.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/draci/saveload.cpp b/engines/draci/saveload.cpp
index b3bf0cbcd8..e3551c78b3 100644
--- a/engines/draci/saveload.cpp
+++ b/engines/draci/saveload.cpp
@@ -41,7 +41,7 @@ bool readSavegameHeader(Common::InSaveFile *in, DraciSavegameHeader &header) {
// Validate the header Id
in->read(saveIdentBuffer, 6);
- if (strcmp(saveIdentBuffer, draciIdentString))
+ if (strcmp(saveIdentBuffer, draciIdentString) != 0)
return false;
header.version = in->readByte();