diff options
Diffstat (limited to 'engines/gargoyle/glk.cpp')
-rw-r--r-- | engines/gargoyle/glk.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/engines/gargoyle/glk.cpp b/engines/gargoyle/glk.cpp index abc4d2c2df..c9823a9085 100644 --- a/engines/gargoyle/glk.cpp +++ b/engines/gargoyle/glk.cpp @@ -181,8 +181,6 @@ winid_t Glk::glk_window_open(winid_t split, glui32 method, glui32 size, glui32 w } void Glk::glk_window_close(winid_t win, stream_result_t *result) { - _windows->_forceRedraw = true; - if (!win) { warning("glk_window_close: invalid ref"); } else { @@ -280,7 +278,7 @@ void Glk::glk_window_clear(winid_t win) { warning("window_clear: invalid ref"); } else if (win->_lineRequest || win->_lineRequestUni) { if (g_conf->_safeClicks && _events->_forceClick) { - glk_cancel_line_event(win, NULL); + glk_cancel_line_event(win, nullptr); _events->_forceClick = false; win->clear(); |