diff options
author | Eugene Sandulenko | 2005-03-30 22:01:17 +0000 |
---|---|---|
committer | Eugene Sandulenko | 2005-03-30 22:01:17 +0000 |
commit | 9c772ce7d85153e4cfb44d8510569bc7fc2004d2 (patch) | |
tree | bca1faf744ef95d842a493e967d3940d22e3cd97 | |
parent | 7ae3da082ebedfc76a8b2b62278d24799a31dd10 (diff) | |
download | scummvm-rg350-9c772ce7d85153e4cfb44d8510569bc7fc2004d2.tar.gz scummvm-rg350-9c772ce7d85153e4cfb44d8510569bc7fc2004d2.tar.bz2 scummvm-rg350-9c772ce7d85153e4cfb44d8510569bc7fc2004d2.zip |
Forgot to init _encbyte in MemoryReadStream.
svn-id: r17301
-rw-r--r-- | common/stream.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/stream.h b/common/stream.h index 86abb06c33..ac0fa18296 100644 --- a/common/stream.h +++ b/common/stream.h @@ -226,7 +226,7 @@ private: byte _encbyte; public: - MemoryReadStream(const byte *buf, uint32 len) : _ptr(buf), _ptrOrig(buf), _bufSize(len), _pos(0) {} + MemoryReadStream(const byte *buf, uint32 len) : _ptr(buf), _ptrOrig(buf), _bufSize(len), _pos(0), _encbyte(0) {} void setEnc(byte value) { _encbyte = value; } |