1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-12 14:14:48 +02:00

fset: fix the colon in help bar being included in description color

This commit is contained in:
Nathaniel Evan
2023-08-01 00:46:32 +07:00
committed by Sébastien Helleu
parent e0e839e7cc
commit 070f0da1c0
+3 -1
View File
@@ -204,12 +204,14 @@ fset_bar_item_fset_cb (const void *pointer, void *data,
snprintf (str_help, sizeof (str_help),
/* TRANSLATORS: "%s%s%s:" at beginning of string it the name of option */
_("%s%s%s: %s %s[%s%s]%s"),
_("%s%s%s: %s%s%s %s[%s%s]%s"),
weechat_color (weechat_config_string (fset_config_color_help_name)),
ptr_fset_option->name,
weechat_color ("bar_fg"),
weechat_color (weechat_config_string (fset_config_color_help_description)),
(ptr_fset_option->description && ptr_fset_option->description[0]) ?
_(ptr_fset_option->description) : _("(no description)"),
weechat_color ("bar_fg"),
weechat_color ("bar_delim"),
*default_and_values,
weechat_color ("bar_delim"),