forked from PsychoticNinja/irssi
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:
parent
f3e4224748
commit
397def0d3c
@ -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?) */
|
||||
|
Loading…
x
Reference in New Issue
Block a user