diff options
| author | Paul Gilbert | 2019-08-17 19:11:30 -0700 | 
|---|---|---|
| committer | Paul Gilbert | 2019-08-18 15:18:57 -0700 | 
| commit | 34f842e4b828b1aaf0149a67bf1ad3bc04c26b09 (patch) | |
| tree | eca42938080f2382110c4d046ff66ec3c48faa74 | |
| parent | f14a7f15d5b1414cbebfdd6bad8f59803e0728b0 (diff) | |
| download | scummvm-rg350-34f842e4b828b1aaf0149a67bf1ad3bc04c26b09.tar.gz scummvm-rg350-34f842e4b828b1aaf0149a67bf1ad3bc04c26b09.tar.bz2 scummvm-rg350-34f842e4b828b1aaf0149a67bf1ad3bc04c26b09.zip | |
GLK: FROTZ: Fix creating text vs buffer windows
| -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); | 
