1
0
mirror of https://github.com/irssi/irssi.git synced 2024-12-04 14:46:39 -05:00

one more extra cleanup for textbuffer_remove_all_lines()

git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1720 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 2001-08-08 15:48:54 +00:00 committed by cras
parent b9a83129fe
commit d248a87497

View File

@ -330,9 +330,11 @@ void textbuffer_remove_all_lines(TEXT_BUFFER_REC *buffer)
g_mem_chunk_free(line_chunk, buffer->first_line);
buffer->first_line = line;
}
buffer->lines_count = 0;
buffer->cur_line = NULL;
buffer->lines_count = 0;
buffer->cur_text = NULL;
buffer->last_eol = TRUE;
}