diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2011-07-27 08:02:29 +0200 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2011-07-27 08:02:29 +0200 |
commit | 93909b4840d0ad8d49670bee5f66fdb3a6ec7d6d (patch) | |
tree | e2cdf504a1016e164e74527a929b2d83c56fe813 /src | |
parent | e0781f0390291e264e6dd9c17beae1342e87f9a2 (diff) | |
download | weechat-93909b4840d0ad8d49670bee5f66fdb3a6ec7d6d.zip |
core: remove delimiters around empty bar items
Diffstat (limited to 'src')
-rw-r--r-- | src/gui/gui-bar-item.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/gui-bar-item.c b/src/gui/gui-bar-item.c index 5a6af8448..35d07a073 100644 --- a/src/gui/gui-bar-item.c +++ b/src/gui/gui-bar-item.c @@ -309,7 +309,7 @@ gui_bar_item_get_value (struct t_gui_bar *bar, struct t_gui_window *window, item_value = (ptr_item->build_callback) (ptr_item->build_callback_data, ptr_item, window); } - if (!item_value) + if (!item_value || !item_value[0]) return NULL; } |