Skip to content

Commit

Permalink
fset: reset color immediately after the color name (issue #1920)
Browse files Browse the repository at this point in the history
  • Loading branch information
flashcode committed May 30, 2023
1 parent f917d22 commit eda62e1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/plugins/fset/fset-buffer.c
Expand Up @@ -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])),
Expand Down Expand Up @@ -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])),
Expand Down Expand Up @@ -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 (
Expand Down

0 comments on commit eda62e1

Please sign in to comment.