summaryrefslogtreecommitdiff
path: root/src/plugins/buflist/buflist-bar-item.c
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2023-06-20 19:16:17 +0200
committerSébastien Helleu <flashcode@flashtux.org>2023-07-04 22:03:05 +0200
commitd7a6fcba5f1b88df1dbff994f624cd3754a3945f (patch)
tree3681060f28b8caf6d56c329c610b2f746b713893 /src/plugins/buflist/buflist-bar-item.c
parentf8116216110504bb5d85ca863189f68617f22188 (diff)
downloadweechat-d7a6fcba5f1b88df1dbff994f624cd3754a3945f.zip
buflist: increase max number of buflist items from 3 to 5 (closes #1703)
Diffstat (limited to 'src/plugins/buflist/buflist-bar-item.c')
-rw-r--r--src/plugins/buflist/buflist-bar-item.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/plugins/buflist/buflist-bar-item.c b/src/plugins/buflist/buflist-bar-item.c
index d7dcc0868..f7cd9bbc7 100644
--- a/src/plugins/buflist/buflist-bar-item.c
+++ b/src/plugins/buflist/buflist-bar-item.c
@@ -30,14 +30,15 @@
struct t_gui_bar_item *buflist_bar_item_buflist[BUFLIST_BAR_NUM_ITEMS] =
-{ NULL, NULL, NULL };
+{ NULL, NULL, NULL, NULL, NULL };
struct t_hashtable *buflist_hashtable_pointers = NULL;
struct t_hashtable *buflist_hashtable_extra_vars = NULL;
struct t_hashtable *buflist_hashtable_options_conditions = NULL;
struct t_arraylist *buflist_list_buffers[BUFLIST_BAR_NUM_ITEMS] =
-{ NULL, NULL, NULL };
+{ NULL, NULL, NULL, NULL, NULL };
-int old_line_number_current_buffer[BUFLIST_BAR_NUM_ITEMS] = { -1, -1, -1 };
+int old_line_number_current_buffer[BUFLIST_BAR_NUM_ITEMS] =
+{ -1, -1, -1, -1, -1 };
/*