From 397def0d3c522e649d1ed8b93a1e92dcc515fd9b Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Fri, 2 Jun 2000 00:27:57 +0000 Subject: [PATCH] if you were at the top of the scrollback buffer and the first line line was removed from buffer, ypos was updated wrong and it messed up some things. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@271 dbcabf3a-b0e7-0310-adc4-f8d773084564 --- src/fe-text/gui-printtext.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/fe-text/gui-printtext.c b/src/fe-text/gui-printtext.c index 366a1a89..c53e4674 100644 --- a/src/fe-text/gui-printtext.c +++ b/src/fe-text/gui-printtext.c @@ -118,6 +118,7 @@ static void remove_first_line(WINDOW_REC *window) /* first line in screen removed */ gui->startline = gui->startline->next; gui->subline = 0; + gui->ypos--; } if (gui->bottom_startline->prev == NULL) { /* bottom line removed (shouldn't happen?) */