1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-06 09:43:13 +02:00

core: fix pointer used to check if buffer has lines

This commit is contained in:
Sebastien Helleu
2013-07-17 18:37:11 +02:00
parent c10cfb6aa0
commit 913e036fa3
+1 -1
View File
@@ -1498,7 +1498,7 @@ gui_window_scroll_beyond_end (struct t_gui_window *window)
if (!gui_init_ok)
return;
if (window->buffer->lines)
if (window->buffer->lines->last_line)
{
window->scroll->start_line = window->buffer->lines->last_line;
window->scroll->start_line_pos = -1;