1
0
mirror of https://github.com/irssi/irssi.git synced 2024-10-13 05:03:45 -04:00

/SB END: if we're already at the end of buffer don't redraw it.

git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3014 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 2002-11-19 12:02:56 +00:00 committed by cras
parent e4accf9c80
commit cb21fabb59

View File

@ -232,7 +232,9 @@ static void cmd_scrollback_end(const char *data)
TEXT_BUFFER_VIEW_REC *view;
view = WINDOW_GUI(active_win)->view;
if (view->bottom_startline == NULL)
if (view->bottom_startline == NULL ||
(view->bottom_startline == view->startline &&
view->bottom_subline == view->subline))
return;
textbuffer_view_scroll_line(view, view->bottom_startline);