diff options
Diffstat (limited to 'src/plugins/fset')
-rw-r--r-- | src/plugins/fset/fset-command.c | 2 | ||||
-rw-r--r-- | src/plugins/fset/fset-option.c | 9 |
2 files changed, 6 insertions, 5 deletions
diff --git a/src/plugins/fset/fset-command.c b/src/plugins/fset/fset-command.c index 7262bf297..d003f6175 100644 --- a/src/plugins/fset/fset-command.c +++ b/src/plugins/fset/fset-command.c @@ -338,8 +338,6 @@ fset_command_fset (const void *pointer, void *data, line = num_options - 1; fset_buffer_set_current_line (line); fset_buffer_check_line_outside_window (); - fset_option_set_max_length_fields_all (); - fset_buffer_refresh (0); } return WEECHAT_RC_OK; } diff --git a/src/plugins/fset/fset-option.c b/src/plugins/fset/fset-option.c index 7b137139b..6cd4e1ecf 100644 --- a/src/plugins/fset/fset-option.c +++ b/src/plugins/fset/fset-option.c @@ -532,9 +532,12 @@ fset_option_set_max_length_fields_option (struct t_fset_option *fset_option) /* marked */ fset_option_set_max_length_field ( - "marked", weechat_strlen_screen ( - (fset_option->marked) ? - weechat_config_string (fset_config_look_marked_string) : + "marked", + weechat_strlen_screen ( + weechat_config_string (fset_config_look_marked_string))); + fset_option_set_max_length_field ( + "marked", + weechat_strlen_screen ( weechat_config_string (fset_config_look_unmarked_string))); } |