[Scummvm-cvs-logs] scummvm master -> 804f0f3e477a933ecb0cade7de9cbb35e30a51e4
DrMcCoy
drmccoy at drmccoy.de
Wed Apr 20 23:20:14 CEST 2011
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
804f0f3e47 GOB: Shut up VS2010 code analysis warning
Commit: 804f0f3e477a933ecb0cade7de9cbb35e30a51e4
https://github.com/scummvm/scummvm/commit/804f0f3e477a933ecb0cade7de9cbb35e30a51e4
Author: Sven Hesse (drmccoy at users.sourceforge.net)
Date: 2011-04-20T14:10:00-07:00
Commit Message:
GOB: Shut up VS2010 code analysis warning
Changed paths:
engines/gob/save/savefile.cpp
diff --git a/engines/gob/save/savefile.cpp b/engines/gob/save/savefile.cpp
index d472ef6..45cd2a2 100644
--- a/engines/gob/save/savefile.cpp
+++ b/engines/gob/save/savefile.cpp
@@ -336,7 +336,7 @@ bool SavePartSprite::read(Common::ReadStream &stream) {
// If it's in the current format, the true color flag has to be the same too
if (!_oldFormat)
- if (stream.readByte() != _trueColor)
+ if ((stream.readByte() != 0) != _trueColor)
return false;
// Sprite data
More information about the Scummvm-git-logs
mailing list