1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-30 23:06:38 +02:00

core: remove delimiters around empty bar items

This commit is contained in:
Sebastien Helleu
2011-07-27 08:02:29 +02:00
parent e0781f0390
commit 93909b4840
+1 -1
View File
@@ -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;
}