diff options
Diffstat (limited to 'engines')
-rw-r--r-- | engines/glk/frotz/windows.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/glk/frotz/windows.cpp b/engines/glk/frotz/windows.cpp index bb5f8042c5..be65e8eb06 100644 --- a/engines/glk/frotz/windows.cpp +++ b/engines/glk/frotz/windows.cpp @@ -315,6 +315,7 @@ void Window::setStyle(int style) { if (g_vm->gos_linepending && _windows->currWin() == g_vm->gos_linewin) return; + _currStyle = style; updateStyle(); } @@ -380,7 +381,7 @@ void Window::createGlkWindow() { _windows->showTextWindows(); // Create a new window - if (_index == 1) { + if (_index != 0 || (_currStyle & FIXED_WIDTH_STYLE)) { // Text grid window _win = g_vm->glk_window_open(g_vm->glk_window_get_root(), winmethod_Arbitrary | winmethod_Fixed, 0, wintype_TextGrid, 0); |