diff options
Diffstat (limited to 'src/core/wee-completion.c')
-rw-r--r-- | src/core/wee-completion.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/core/wee-completion.c b/src/core/wee-completion.c index 631054968..a99c65535 100644 --- a/src/core/wee-completion.c +++ b/src/core/wee-completion.c @@ -174,7 +174,6 @@ completion_list_add_buffers_plugins_names_cb (void *data, struct t_gui_completion *completion) { struct t_gui_buffer *ptr_buffer; - char name[512]; /* make C compiler happy */ (void) data; @@ -184,10 +183,7 @@ completion_list_add_buffers_plugins_names_cb (void *data, for (ptr_buffer = gui_buffers; ptr_buffer; ptr_buffer = ptr_buffer->next_buffer) { - snprintf (name, sizeof (name), "%s.%s", - gui_buffer_get_plugin_name (ptr_buffer), - ptr_buffer->name); - gui_completion_list_add (completion, name, + gui_completion_list_add (completion, ptr_buffer->full_name, 0, WEECHAT_LIST_POS_SORT); } |