mirror of
https://github.com/irssi/irssi.git
synced 2024-12-04 14:46:39 -05:00
Missing update of view->startline when the line to delete is the first of the
view and the first of the view buffer. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4343 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
c08a754d1e
commit
9cdea0d608
@ -1147,6 +1147,7 @@ static void view_remove_line(TEXT_BUFFER_VIEW_REC *view, LINE_REC *line,
|
|||||||
linecount, FALSE);
|
linecount, FALSE);
|
||||||
view->ypos -= realcount;
|
view->ypos -= realcount;
|
||||||
view->empty_linecount += linecount-realcount;
|
view->empty_linecount += linecount-realcount;
|
||||||
|
view->startline = view->startline->next;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
if (textbuffer_line_exists_after(view->bottom_startline,
|
if (textbuffer_line_exists_after(view->bottom_startline,
|
||||||
|
Loading…
Reference in New Issue
Block a user