diff options
Diffstat (limited to 'src/plugins/buflist')
-rw-r--r-- | src/plugins/buflist/buflist-bar-item.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/plugins/buflist/buflist-bar-item.c b/src/plugins/buflist/buflist-bar-item.c index ac3fbe062..dcfa55503 100644 --- a/src/plugins/buflist/buflist-bar-item.c +++ b/src/plugins/buflist/buflist-bar-item.c @@ -372,8 +372,7 @@ buflist_bar_item_buflist_cb (const void *pointer, void *data, snprintf (str_format_number_empty, sizeof (str_format_number_empty), "%%-%ds", length_max_number); - if (buflist_list_buffers[item_index]) - weechat_arraylist_free (buflist_list_buffers[item_index]); + weechat_arraylist_free (buflist_list_buffers[item_index]); buflist_list_buffers[item_index] = weechat_arraylist_new ( 16, 0, 1, NULL, NULL, NULL, NULL); |