diff options
-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 9f7e6917b4..738bb43e2d 100644 --- a/engines/glk/frotz/windows.cpp +++ b/engines/glk/frotz/windows.cpp @@ -211,7 +211,8 @@ void Window::setCursor(const Point &newPos) { } void Window::setCursor() { - g_vm->glk_window_move_cursor(_win, _properties[X_CURSOR] - 1, _properties[Y_CURSOR] - 1); + if (dynamic_cast<TextGridWindow *>(_win)) + g_vm->glk_window_move_cursor(_win, _properties[X_CURSOR] - 1, _properties[Y_CURSOR] - 1); } void Window::clear() { |