diff options
author | Emanuele Giaquinta <exg@irssi.org> | 2006-09-12 17:19:47 +0000 |
---|---|---|
committer | exg <exg@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2006-09-12 17:19:47 +0000 |
commit | 9cdea0d6087165f1dcadf3adc419ebc82049ffd5 (patch) | |
tree | 897dbc8c4a00bfd0099a49eb9b4cb85571b5e341 /src/fe-text/textbuffer-view.c | |
parent | c08a754d1e1e0642035c9f4cb5173cbbe790598e (diff) | |
download | irssi-9cdea0d6087165f1dcadf3adc419ebc82049ffd5.zip |
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
Diffstat (limited to 'src/fe-text/textbuffer-view.c')
-rw-r--r-- | src/fe-text/textbuffer-view.c | 1 |
1 files changed, 1 insertions, 0 deletions
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, |