From a9f5b3351e1daedbd2fc301254048060bc464b58 Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Sun, 28 Oct 2018 14:55:49 -0700 Subject: GLK: Fix fg/bg window color initialization --- engines/gargoyle/windows.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/engines/gargoyle/windows.cpp b/engines/gargoyle/windows.cpp index 22c2701879..bf126eb869 100644 --- a/engines/gargoyle/windows.cpp +++ b/engines/gargoyle/windows.cpp @@ -495,8 +495,8 @@ Window::Window(Windows *windows, glui32 rock) : _windows(windows), _rock(rock), _attr.bgcolor = 0; _attr.hyper = 0; - Common::fill(&_bgColor[0], &_bgColor[3], 3); - Common::fill(&_fgColor[0], &_fgColor[3], 3); + Common::copy(&g_conf->_windowColor[0], &g_conf->_windowColor[3], &_bgColor[0]); + Common::copy(&g_conf->_moreColor[0], &g_conf->_moreColor[3], _fgColor); _dispRock.num = 0; Streams &streams = *g_vm->_streams; -- cgit v1.2.3