X-Git-Url: http://git.silcnet.org/gitweb/?p=silc.git;a=blobdiff_plain;f=apps%2Firssi%2Fsrc%2Ffe-text%2Ftextbuffer-commands.c;h=92eaaec700dba9700fc169d512f29cad55606865;hp=61350a3ee35f3346816d5a33cc29dff989181ff3;hb=63158e7a230236f3fd754c2e43c133bf91807bc5;hpb=0c70d898216c23bf3e0759a3774836fb4afb928c diff --git a/apps/irssi/src/fe-text/textbuffer-commands.c b/apps/irssi/src/fe-text/textbuffer-commands.c index 61350a3e..92eaaec7 100644 --- a/apps/irssi/src/fe-text/textbuffer-commands.c +++ b/apps/irssi/src/fe-text/textbuffer-commands.c @@ -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);