1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-03 08:13:14 +02:00

fset: display "(no description)" instead of empty string for options without description

This commit is contained in:
Sébastien Helleu
2017-05-31 21:37:40 +02:00
parent bf7135dd9d
commit ee3d5474b9
+2 -1
View File
@@ -133,7 +133,8 @@ fset_bar_item_fset_cb (const void *pointer, void *data,
weechat_color (weechat_config_string (fset_config_color_help_name)),
ptr_fset_option->name,
weechat_color ("bar_fg"),
ptr_fset_option->description,
(ptr_fset_option->description && ptr_fset_option->description[0]) ?
ptr_fset_option->description : _("(no description)"),
weechat_color ("bar_delim"),
weechat_color ("bar_fg"),
weechat_color (weechat_config_string (fset_config_color_help_default_value)),