summaryrefslogtreecommitdiffstats
path: root/src/gui.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-03-30 18:47:01 +0100
committerBram Moolenaar <Bram@vim.org>2019-03-30 18:47:01 +0100
commitabab0b0fdd6535969447b03a4fffc1947918cf6c (patch)
tree2d43537a5dce8433ef2b2a37684c9e069392c592 /src/gui.c
parentbd9bf266fccbf7b7f09e476e09b61f0133e914db (diff)
patch 8.1.1086: too many curly bracesv8.1.1086
Problem: Too many curly braces. Solution: Remove curly braces where they are not needed. (Hirohito Higashi, closes #3982)
Diffstat (limited to 'src/gui.c')
-rw-r--r--src/gui.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/gui.c b/src/gui.c
index ada338f7f2..15974e54ea 100644
--- a/src/gui.c
+++ b/src/gui.c
@@ -3508,9 +3508,7 @@ gui_init_which_components(char_u *oldval UNUSED)
else
{
FOR_ALL_WINDOWS(wp)
- {
gui_do_scrollbar(wp, i, gui.which_scrollbars[i]);
- }
}
if (gui.which_scrollbars[i] != prev_which_scrollbars[i])
{
@@ -3830,9 +3828,7 @@ gui_remove_scrollbars(void)
else
{
FOR_ALL_WINDOWS(wp)
- {
gui_do_scrollbar(wp, i, FALSE);
- }
}
curtab->tp_prev_which_scrollbars[i] = -1;
}