1
0
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:
Emanuele Giaquinta 2006-09-12 17:19:47 +00:00 committed by exg
parent c08a754d1e
commit 9cdea0d608

View File

@ -1147,6 +1147,7 @@ static void view_remove_line(TEXT_BUFFER_VIEW_REC *view, LINE_REC *line,
linecount, FALSE);
view->ypos -= realcount;
view->empty_linecount += linecount-realcount;
view->startline = view->startline->next;
}
} else {
if (textbuffer_line_exists_after(view->bottom_startline,