mirror of
https://github.com/irssi/irssi.git
synced 2024-09-01 04:14:16 -04:00
Do not restore the previous view when deleting the first line of the current one.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4342 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
35574b10c4
commit
c08a754d1e
@ -1095,8 +1095,7 @@ static void view_remove_line_update_startline(TEXT_BUFFER_VIEW_REC *view,
|
||||
int scroll;
|
||||
|
||||
if (view->startline == line) {
|
||||
view->startline = view->startline->prev != NULL ?
|
||||
view->startline->prev : view->startline->next;
|
||||
view->startline = view->startline->next;
|
||||
view->subline = 0;
|
||||
} else {
|
||||
scroll = view->height -
|
||||
|
Loading…
Reference in New Issue
Block a user