aboutsummaryrefslogtreecommitdiff
path: root/engines/glk/windows.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/glk/windows.cpp')
-rw-r--r--engines/glk/windows.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/engines/glk/windows.cpp b/engines/glk/windows.cpp
index 946a373151..0e59ebcf48 100644
--- a/engines/glk/windows.cpp
+++ b/engines/glk/windows.cpp
@@ -502,7 +502,7 @@ Window::Window(Windows *windows, uint rock) : _windows(windows), _rock(rock),
_attr.hyper = 0;
Common::copy(&g_conf->_windowColor[0], &g_conf->_windowColor[3], &_bgColor[0]);
- Common::copy(&g_conf->_moreColor[0], &g_conf->_moreColor[3], _fgColor);
+ Common::copy(&g_conf->_propInfo._moreColor[0], &g_conf->_propInfo._moreColor[3], _fgColor);
_dispRock.num = 0;
Streams &streams = *g_vm->_streams;
@@ -562,6 +562,10 @@ void Window::close(bool recurse) {
delete this;
}
+FontInfo *Window::getFontInfo() {
+ error("Tried to get font info for a non-text window");
+}
+
void Window::cancelLineEvent(Event *ev) {
Event dummyEv;
if (!ev)