diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2017-07-01 16:07:43 +0200 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2017-07-01 16:07:43 +0200 |
commit | b67c7a4b29f9dac613f9dc938bc84c413f3a6f38 (patch) | |
tree | 2c175c7beb3f1fd65ba55fd5e627bdd04983e3e4 /src/plugins/buflist/buflist-bar-item.c | |
parent | d30e2e473b729fd3c13a7421c53e6e18c05097d6 (diff) | |
download | weechat-b67c7a4b29f9dac613f9dc938bc84c413f3a6f38.zip |
buflist: add option buflist.look.add_newline (closes #1027)
Diffstat (limited to 'src/plugins/buflist/buflist-bar-item.c')
-rw-r--r-- | src/plugins/buflist/buflist-bar-item.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/buflist/buflist-bar-item.c b/src/plugins/buflist/buflist-bar-item.c index d60ecfb45..cf1d22d2a 100644 --- a/src/plugins/buflist/buflist-bar-item.c +++ b/src/plugins/buflist/buflist-bar-item.c @@ -324,7 +324,8 @@ buflist_bar_item_buflist_cb (const void *pointer, void *data, ptr_buffer, "name"); } - if (*buflist[0]) + if (weechat_config_boolean (buflist_config_look_add_newline) + && *buflist[0]) { if (!weechat_string_dyn_concat (buflist, "\n")) goto error; |