aboutsummaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorEugene Sandulenko2005-03-30 22:01:17 +0000
committerEugene Sandulenko2005-03-30 22:01:17 +0000
commit9c772ce7d85153e4cfb44d8510569bc7fc2004d2 (patch)
treebca1faf744ef95d842a493e967d3940d22e3cd97 /common
parent7ae3da082ebedfc76a8b2b62278d24799a31dd10 (diff)
downloadscummvm-rg350-9c772ce7d85153e4cfb44d8510569bc7fc2004d2.tar.gz
scummvm-rg350-9c772ce7d85153e4cfb44d8510569bc7fc2004d2.tar.bz2
scummvm-rg350-9c772ce7d85153e4cfb44d8510569bc7fc2004d2.zip
Forgot to init _encbyte in MemoryReadStream.
svn-id: r17301
Diffstat (limited to 'common')
-rw-r--r--common/stream.h2
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; }