diff --git a/src/fe-text/textbuffer-view.c b/src/fe-text/textbuffer-view.c index ef31e403..beddae19 100644 --- a/src/fe-text/textbuffer-view.c +++ b/src/fe-text/textbuffer-view.c @@ -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,