From 2e85821da14eed8befd74e9aeb7ccf49c94a38a9 Mon Sep 17 00:00:00 2001 From: H.G. Muller Date: Mon, 13 Jul 2009 19:33:57 -0700 Subject: [PATCH] help-menu was not un-grayed in the JAWS version, when it played with engines --- winboard/jaws.c | 1 + winboard/winboard.c | 2 +- 2 files changed, 2 insertions(+), 1 deletions(-) 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 }, -- 1.7.0.4