diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2020-08-04 22:42:59 +0200 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2020-08-04 22:42:59 +0200 |
commit | ec898732a17e9652181d7059489e85f4fd89a34c (patch) | |
tree | 74aa80b6f04aa91d8a36e943ea6821dee8210101 /src/gui/gui-buffer.c | |
parent | 9262720a65e754942f1a51bde4871575c3a5457c (diff) | |
download | weechat-ec898732a17e9652181d7059489e85f4fd89a34c.zip |
core: rename functions to allocate/free lines
Diffstat (limited to 'src/gui/gui-buffer.c')
-rw-r--r-- | src/gui/gui-buffer.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/gui-buffer.c b/src/gui/gui-buffer.c index a35cc620d..951f2b478 100644 --- a/src/gui/gui-buffer.c +++ b/src/gui/gui-buffer.c @@ -717,7 +717,7 @@ gui_buffer_new (struct t_weechat_plugin *plugin, new_buffer->title = NULL; /* chat content */ - new_buffer->own_lines = gui_lines_alloc (); + new_buffer->own_lines = gui_line_lines_alloc (); new_buffer->mixed_lines = NULL; new_buffer->lines = new_buffer->own_lines; new_buffer->time_for_each_line = 1; @@ -3659,7 +3659,7 @@ gui_buffer_unmerge (struct t_gui_buffer *buffer, int number) { /* only one buffer will remain, so it will not be merged any more */ gui_line_mixed_free_all (buffer); - gui_lines_free (buffer->mixed_lines); + gui_line_lines_free (buffer->mixed_lines); for (ptr_buffer = gui_buffers; ptr_buffer; ptr_buffer = ptr_buffer->next_buffer) { |