diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/gui/curses/gui-curses-window.c | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/src/gui/curses/gui-curses-window.c b/src/gui/curses/gui-curses-window.c index 887f23135..c287f2e56 100644 --- a/src/gui/curses/gui-curses-window.c +++ b/src/gui/curses/gui-curses-window.c @@ -1463,13 +1463,10 @@ gui_window_scroll_bottom (struct t_gui_window *window) switch (window->buffer->type) { case GUI_BUFFER_TYPE_FORMATTED: - if (window->scroll->start_line) - { - window->scroll->start_line = NULL; - window->scroll->start_line_pos = 0; - window->scroll->reset_allowed = 1; - gui_buffer_ask_chat_refresh (window->buffer, 2); - } + window->scroll->start_line = NULL; + window->scroll->start_line_pos = 0; + window->scroll->reset_allowed = 1; + gui_buffer_ask_chat_refresh (window->buffer, 2); break; case GUI_BUFFER_TYPE_FREE: window->scroll->start_line = NULL; |