summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/plugins/fset/fset-option.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/plugins/fset/fset-option.c b/src/plugins/fset/fset-option.c
index e0a42d30a..9b364f2e1 100644
--- a/src/plugins/fset/fset-option.c
+++ b/src/plugins/fset/fset-option.c
@@ -1423,16 +1423,6 @@ fset_option_config_changed (const char *option_name)
if (full_refresh)
{
fset_option_get_options ();
- num_options = weechat_arraylist_size (fset_options);
- if (num_options > 0)
- {
- if (fset_buffer_selected_line >= num_options)
- fset_buffer_selected_line = num_options - 1;
- }
- else
- {
- fset_buffer_selected_line = 0;
- }
fset_buffer_refresh (1);
}
else