mirror of
https://github.com/weechat/weechat.git
synced 2026-07-02 07:46:38 +02:00
core: fix scroll to bottom of window (default key: alt+end) when line displayed is bigger than chat area
This commit is contained in:
@@ -7,6 +7,8 @@ v0.4.0-rc1, 2013-01-01
|
||||
Version 0.4.0 (under dev!)
|
||||
--------------------------
|
||||
|
||||
* core: fix scroll to bottom of window (default key: alt+end) when line
|
||||
displayed is bigger than chat area
|
||||
* core: fix scroll in buffer after enabling/disabling some filters (if scroll
|
||||
is on a hidden line) (bug #37885)
|
||||
* core: fix memory leak in case of error when building content of bar item for
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user