mirror of
https://github.com/irssi/irssi.git
synced 2026-08-08 19:30:15 +02: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:
parent
f3e4224748
commit
397def0d3c
1 changed files with 1 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue