diff options
author | Emanuele Giaquinta <exg@irssi.org> | 2006-09-12 22:33:14 +0000 |
---|---|---|
committer | exg <exg@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2006-09-12 22:33:14 +0000 |
commit | 904e01175caaa0a1d1130b984e25c897676304ce (patch) | |
tree | 4e6f75267a92288ea7d4fd4a4fd709262ed7d517 /src/fe-text/textbuffer-view.c | |
parent | f57b551a86c1b637f7df5a78371928854618db7f (diff) | |
download | irssi-904e01175caaa0a1d1130b984e25c897676304ce.zip |
Revert r4342.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4345 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/fe-text/textbuffer-view.c')
-rw-r--r-- | src/fe-text/textbuffer-view.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/fe-text/textbuffer-view.c b/src/fe-text/textbuffer-view.c index beddae19..27ee7af5 100644 --- a/src/fe-text/textbuffer-view.c +++ b/src/fe-text/textbuffer-view.c @@ -1095,7 +1095,8 @@ static void view_remove_line_update_startline(TEXT_BUFFER_VIEW_REC *view, int scroll; if (view->startline == line) { - view->startline = view->startline->next; + view->startline = view->startline->prev != NULL ? + view->startline->prev : view->startline->next; view->subline = 0; } else { scroll = view->height - |