From fc86b3705bf2e46f03e27ed7b3934bc4b306a3a2 Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Sat, 17 Nov 2018 19:24:35 -0800 Subject: GLK: Fix initializing fields of created streams --- engines/glk/streams.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'engines') 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() { -- cgit v1.2.3