mirror of
https://github.com/vim/vim.git
synced 2025-09-24 03:44:06 -04:00
patch 8.1.1086: too many curly braces
Problem: Too many curly braces. Solution: Remove curly braces where they are not needed. (Hirohito Higashi, closes #3982)
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user