diff --git a/src/gui_w32.c b/src/gui_w32.c index 6e12b9458d..59f2880797 100644 --- a/src/gui_w32.c +++ b/src/gui_w32.c @@ -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))) diff --git a/src/version.c b/src/version.c index ab06088256..163f4fb72e 100644 --- a/src/version.c +++ b/src/version.c @@ -734,6 +734,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 2047, /**/ 2046, /**/