aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Gilbert2018-11-17 19:24:35 -0800
committerPaul Gilbert2018-12-08 19:05:59 -0800
commitfc86b3705bf2e46f03e27ed7b3934bc4b306a3a2 (patch)
treeefe9abaa2850a43763f4d1b5e7930e6ada842bff
parent3b906cb2bb302d9256d07cb462f445af16c7d129 (diff)
downloadscummvm-rg350-fc86b3705bf2e46f03e27ed7b3934bc4b306a3a2.tar.gz
scummvm-rg350-fc86b3705bf2e46f03e27ed7b3934bc4b306a3a2.tar.bz2
scummvm-rg350-fc86b3705bf2e46f03e27ed7b3934bc4b306a3a2.zip
GLK: Fix initializing fields of created streams
-rw-r--r--engines/glk/streams.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/glk/streams.cpp b/engines/glk/streams.cpp
index cd7130fb35..b491b89dfe 100644
--- a/engines/glk/streams.cpp
+++ b/engines/glk/streams.cpp
@@ -33,8 +33,8 @@
namespace Glk {
Stream::Stream(Streams *streams, bool readable, bool writable, uint32 rock, bool unicode) :
- _streams(streams), _readable(readable), _writable(writable), _readCount(0),
- _writeCount(0), _prev(nullptr), _next(nullptr), _rock(0) {
+ _streams(streams), _readable(readable), _writable(writable), _rock(0), _unicode(unicode),
+ _readCount(0), _writeCount(0), _prev(nullptr), _next(nullptr) {
}
Stream::~Stream() {