help-menu was not un-grayed in the JAWS version, when it played with engines
authorH.G. Muller <h.g.muller@hccnet.nl>
Tue, 14 Jul 2009 02:33:57 +0000 (19:33 -0700)
committerArun Persaud <arun@nubati.net>
Tue, 14 Jul 2009 02:33:57 +0000 (19:33 -0700)
winboard/jaws.c
winboard/winboard.c

index c4df5cc..c62f247 100644 (file)
@@ -234,6 +234,7 @@ AdaptMenu()
        }\r
        InsertMenu(menuMain, 5, MF_BYPOSITION|MF_POPUP|MF_ENABLED|MF_STRING, \r
                (UINT_PTR) menuJAWS, "&JAWS");\r
+       oldMenuItemState[6] = oldMenuItemState[5];\r
        DrawMenuBar(hwndMain);\r
 }\r
 \r
index b27af88..fb98336 100644 (file)
@@ -309,7 +309,7 @@ MyButtonDesc buttonDesc[N_BUTTONS] =
 };\r
 \r
 int tinyLayout = 0, smallLayout = 0;\r
-#define MENU_BAR_ITEMS 6\r
+#define MENU_BAR_ITEMS 7\r
 char *menuBarText[2][MENU_BAR_ITEMS+1] = {\r
   { "&File", "&Mode", "&Action", "&Step", "&Options", "&Help", NULL },\r
   { "&F", "&M", "&A", "&S", "&O", "&H", NULL },\r