From eda62e1218c70f7c67690b0cf9fe2c42a8663d6f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Helleu?= Date: Tue, 30 May 2023 07:39:11 +0200 Subject: fset: reset color immediately after the color name (issue #1920) --- src/plugins/fset/fset-buffer.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/plugins/fset') 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 ( -- cgit v1.2.3