summaryrefslogtreecommitdiff
path: root/src/plugins
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2017-07-02 09:49:34 +0200
committerSébastien Helleu <flashcode@flashtux.org>2017-07-02 09:49:34 +0200
commit860330a6bf3aea704d391542d44caf5aff1bff20 (patch)
treed72cb35e6f0e4bb9eddc27a701cff0248f3b68b8 /src/plugins
parent79d44d87a3c47f268f9161583f6220e36fd1013e (diff)
downloadweechat-860330a6bf3aea704d391542d44caf5aff1bff20.zip
fset: add braces around else statement
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/fset/fset-option.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/fset/fset-option.c b/src/plugins/fset/fset-option.c
index ab13b9367..e0a42d30a 100644
--- a/src/plugins/fset/fset-option.c
+++ b/src/plugins/fset/fset-option.c
@@ -1430,7 +1430,9 @@ fset_option_config_changed (const char *option_name)
fset_buffer_selected_line = num_options - 1;
}
else
+ {
fset_buffer_selected_line = 0;
+ }
fset_buffer_refresh (1);
}
else