mirror of
https://github.com/macvim-dev/macvim.git
synced 2026-06-11 15:37:29 +02:00
patch 9.1.2047: MS-Windows: style issue in gui_w32.c
Problem: MS-Windows: style issue in gui_w32.c
Solution: Fix indentation, drop unnecessary braces
(Mao-Yining)
closes: #19073
Signed-off-by: Mao-Yining <101858210+mao-yining@users.noreply.github.com>
Signed-off-by: Hirohito Higashi <h.east.727@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
committed by
Christian Brabandt
parent
8be4610588
commit
bfd4f75b5a
+3
-5
@@ -7196,14 +7196,12 @@ gui_mch_menu_grey(
|
||||
* is this a toolbar button?
|
||||
*/
|
||||
if (menu->submenu_id == (HMENU)-1)
|
||||
{
|
||||
SendMessage(s_toolbarhwnd, TB_ENABLEBUTTON,
|
||||
(WPARAM)menu->id, (LPARAM) MAKELONG((grey ? FALSE : TRUE), 0));
|
||||
}
|
||||
(WPARAM)menu->id, (LPARAM) MAKELONG((grey ? FALSE : TRUE), 0));
|
||||
else
|
||||
# endif
|
||||
(void)EnableMenuItem(menu->parent ? menu->parent->submenu_id : s_menuBar,
|
||||
menu->id, MF_BYCOMMAND | (grey ? MF_GRAYED : MF_ENABLED));
|
||||
(void)EnableMenuItem(menu->parent ? menu->parent->submenu_id : s_menuBar,
|
||||
menu->id, MF_BYCOMMAND | (grey ? MF_GRAYED : MF_ENABLED));
|
||||
|
||||
# ifdef FEAT_TEAROFF
|
||||
if ((menu->parent != NULL) && (IsWindow(menu->parent->tearoff_handle)))
|
||||
|
||||
@@ -734,6 +734,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
2047,
|
||||
/**/
|
||||
2046,
|
||||
/**/
|
||||
|
||||
Reference in New Issue
Block a user