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:
@@ -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)),
|
||||
|
||||
Reference in New Issue
Block a user