mirror of
https://github.com/irssi/irssi.git
synced 2026-08-09 20:00:23 +02:00
textbuffer_view_remove_line() fixes (with a small kludge..)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1741 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
53c13065d2
commit
08b9062028
2 changed files with 44 additions and 31 deletions
|
|
@ -308,6 +308,8 @@ void textbuffer_remove(TEXT_BUFFER_REC *buffer, LINE_REC *line)
|
|||
line->next : line->prev;
|
||||
}
|
||||
|
||||
line->prev = line->next = NULL;
|
||||
|
||||
buffer->lines_count--;
|
||||
textbuffer_line_unref(buffer, line);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue