1
0
mirror of https://github.com/irssi/irssi.git synced 2024-12-04 14:46:39 -05:00

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
This commit is contained in:
Timo Sirainen 2000-06-02 00:27:57 +00:00 committed by cras
parent f3e4224748
commit 397def0d3c

View File

@ -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?) */