aboutsummaryrefslogtreecommitdiff
path: root/common/winexe_pe.cpp
diff options
context:
space:
mode:
authorEinar Johan Trøan Sømåen2012-08-31 13:11:31 +0200
committerEinar Johan Trøan Sømåen2012-08-31 13:11:31 +0200
commit3fe7f2cbe2b70eaa824b7159d94d40c2280006a3 (patch)
treeea592da00ad567c75008137f79eeba16c3ba40c4 /common/winexe_pe.cpp
parent246109839b9c196e9181a6f619c15694456b9aec (diff)
parent10a947a0be80ea8c5c88bd3493a5057b1223ce45 (diff)
downloadscummvm-rg350-3fe7f2cbe2b70eaa824b7159d94d40c2280006a3.tar.gz
scummvm-rg350-3fe7f2cbe2b70eaa824b7159d94d40c2280006a3.tar.bz2
scummvm-rg350-3fe7f2cbe2b70eaa824b7159d94d40c2280006a3.zip
Merge remote-tracking branch 'origin/master' into wintermute
Diffstat (limited to 'common/winexe_pe.cpp')
-rw-r--r--common/winexe_pe.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/winexe_pe.cpp b/common/winexe_pe.cpp
index 6c0f9c9962..b3c45ffe73 100644
--- a/common/winexe_pe.cpp
+++ b/common/winexe_pe.cpp
@@ -64,7 +64,7 @@ bool PEResources::loadFromEXE(SeekableReadStream *stream) {
if (!stream)
return false;
- if (stream->readUint16BE() != 'MZ')
+ if (stream->readUint16BE() != MKTAG16('M', 'Z'))
return false;
stream->skip(58);