mirror of
https://github.com/irssi/irssi.git
synced 2024-12-04 14:46:39 -05:00
Revert r4342.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4345 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
f57b551a86
commit
904e01175c
@ -1095,7 +1095,8 @@ static void view_remove_line_update_startline(TEXT_BUFFER_VIEW_REC *view,
|
|||||||
int scroll;
|
int scroll;
|
||||||
|
|
||||||
if (view->startline == line) {
|
if (view->startline == line) {
|
||||||
view->startline = view->startline->next;
|
view->startline = view->startline->prev != NULL ?
|
||||||
|
view->startline->prev : view->startline->next;
|
||||||
view->subline = 0;
|
view->subline = 0;
|
||||||
} else {
|
} else {
|
||||||
scroll = view->height -
|
scroll = view->height -
|
||||||
|
Loading…
Reference in New Issue
Block a user