From: H.G. Muller Date: Tue, 14 Jul 2009 02:33:57 +0000 (-0700) Subject: help-menu was not un-grayed in the JAWS version, when it played with engines X-Git-Tag: v4.4.0.beta1~12 X-Git-Url: http://winboard.nl/cgi-bin?a=commitdiff_plain;h=2e85821da14eed8befd74e9aeb7ccf49c94a38a9;hp=38e2bc1425235f96bc0caca2cb77043a661041ad;p=xboard.git help-menu was not un-grayed in the JAWS version, when it played with engines --- diff --git a/winboard/jaws.c b/winboard/jaws.c index c4df5cc..c62f247 100644 --- a/winboard/jaws.c +++ b/winboard/jaws.c @@ -234,6 +234,7 @@ AdaptMenu() } InsertMenu(menuMain, 5, MF_BYPOSITION|MF_POPUP|MF_ENABLED|MF_STRING, (UINT_PTR) menuJAWS, "&JAWS"); + oldMenuItemState[6] = oldMenuItemState[5]; DrawMenuBar(hwndMain); } diff --git a/winboard/winboard.c b/winboard/winboard.c index b27af88..fb98336 100644 --- a/winboard/winboard.c +++ b/winboard/winboard.c @@ -309,7 +309,7 @@ MyButtonDesc buttonDesc[N_BUTTONS] = }; int tinyLayout = 0, smallLayout = 0; -#define MENU_BAR_ITEMS 6 +#define MENU_BAR_ITEMS 7 char *menuBarText[2][MENU_BAR_ITEMS+1] = { { "&File", "&Mode", "&Action", "&Step", "&Options", "&Help", NULL }, { "&F", "&M", "&A", "&S", "&O", "&H", NULL },