diff src/gui_w32.c @ 16162:cd5c83115ec6 v8.1.1086

patch 8.1.1086: too many curly braces commit https://github.com/vim/vim/commit/abab0b0fdd6535969447b03a4fffc1947918cf6c Author: Bram Moolenaar <Bram@vim.org> Date: Sat Mar 30 18:47:01 2019 +0100 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)
author Bram Moolenaar <Bram@vim.org>
date Sat, 30 Mar 2019 19:00:07 +0100
parents 8f4eccaaf2c0
children 973070a30381
line wrap: on
line diff
--- a/src/gui_w32.c
+++ b/src/gui_w32.c
@@ -1155,9 +1155,7 @@ findrep_wtoa(LPFINDREPLACE lpfr, LPFINDR
     /* If the OS is Windows NT, and 'encoding' differs from active codepage:
      * convert text from wide string. */
     if (enc_codepage >= 0 && (int)GetACP() != enc_codepage)
-    {
 	findrep_wtoa(&s_findrep_struct, &s_findrep_struct_w);
-    }
 
     if (s_findrep_struct.Flags & FR_DIALOGTERM)
 	/* Give main window the focus back. */
@@ -2633,9 +2631,7 @@ gui_mch_update_tabline(void)
 	    }
 	}
 	if (wstr == NULL)
-	{
 	    TabCtrl_SetItem(s_tabhwnd, nr, &tie);
-	}
     }
 
     /* Remove any old labels. */
@@ -4289,9 +4285,7 @@ gui_mswin_get_menu_height(
     }
 
     if (fix_window && menu_height != old_menu_height)
-    {
 	gui_set_shellsize(FALSE, FALSE, RESIZE_VERT);
-    }
     old_menu_height = menu_height;
 
     return menu_height;
@@ -4861,9 +4855,7 @@ set_tabline_font(void)
     default:
 #ifdef MSWIN_FIND_REPLACE
 	if (uMsg == s_findrep_msg && s_findrep_msg != 0)
-	{
 	    _OnFindRepl();
-	}
 #endif
 	return MyWindowProc(hwnd, uMsg, wParam, lParam);
     }