diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2023-05-30 07:39:11 +0200 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2023-05-30 07:39:11 +0200 |
commit | eda62e1218c70f7c67690b0cf9fe2c42a8663d6f (patch) | |
tree | 61a51b2b57ee31cbb671d078a8b75f5f10b6cc94 | |
parent | f917d2265528c0b23947c562d3679163b880149d (diff) | |
download | weechat-eda62e1218c70f7c67690b0cf9fe2c42a8663d6f.zip |
fset: reset color immediately after the color name (issue #1920)
-rw-r--r-- | src/plugins/fset/fset-buffer.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/fset/fset-buffer.c b/src/plugins/fset/fset-buffer.c index ff8a32688..bb3d53f95 100644 --- a/src/plugins/fset/fset-buffer.c +++ b/src/plugins/fset/fset-buffer.c @@ -396,7 +396,7 @@ fset_buffer_display_option_eval (struct t_fset_option *fset_option) && fset_option->default_value) { snprintf (str_color_name, sizeof (str_color_name), - " %s(%s%s%s)", + "%s (%s%s%s)", weechat_color ( weechat_config_string ( fset_config_color_quotes[selected_line])), @@ -488,7 +488,7 @@ fset_buffer_display_option_eval (struct t_fset_option *fset_option) && weechat_config_boolean (fset_config_look_use_color_value)) { snprintf (str_color_name, sizeof (str_color_name), - " %s(%s%s%s)", + "%s (%s%s%s)", weechat_color ( weechat_config_string ( fset_config_color_quotes[selected_line])), @@ -980,7 +980,7 @@ fset_buffer_display_option_predefined_format (struct t_fset_option *fset_option) && fset_option->value) { snprintf (str_color_name, sizeof (str_color_name), - " %s(%s%s%s)", + "%s (%s%s%s)", str_color_quotes, weechat_color ( weechat_config_string ( |