diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-03-30 18:47:01 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-03-30 18:47:01 +0100 |
commit | abab0b0fdd6535969447b03a4fffc1947918cf6c (patch) | |
tree | 2d43537a5dce8433ef2b2a37684c9e069392c592 /src/gui_w32.c | |
parent | bd9bf266fccbf7b7f09e476e09b61f0133e914db (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_w32.c')
-rw-r--r-- | src/gui_w32.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/gui_w32.c b/src/gui_w32.c index c4bc3c912c..292fbdd40c 100644 --- a/src/gui_w32.c +++ b/src/gui_w32.c @@ -1155,9 +1155,7 @@ _OnFindRepl(void) /* 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 @@ _WndProc( default: #ifdef MSWIN_FIND_REPLACE if (uMsg == s_findrep_msg && s_findrep_msg != 0) - { _OnFindRepl(); - } #endif return MyWindowProc(hwnd, uMsg, wParam, lParam); } |