From 2a9ed786fc7e279874d1fa22a6bcf87d89328d14 Mon Sep 17 00:00:00 2001 From: H.G. Muller Date: Sat, 7 Aug 2010 16:39:16 +0200 Subject: [PATCH] Tricked by the grossnes Some WB menu items were referenced by a hard number. As items had been added over the years, the wrong menu items were grayed. In particular the Options -> Adjudication menu was grayed out, in -ncp mode, where this was intended for the Sounds dialog. This accidentally proved useful, until we started to apply adjudictions also to the Human moves. Then it was suddenly undesirable, and a small mystery why it happened at all, when I tried to change it. The numbers are now corrected to the new locatons of the items in the menus. --- winboard/winboard.h | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/winboard/winboard.h b/winboard/winboard.h index 4c83725..c3212d4 100644 --- a/winboard/winboard.h +++ b/winboard/winboard.h @@ -149,8 +149,8 @@ void SaveSettings(char* name); /* It's gross that these are needed. */ #define ACTION_POS 2 /* Posn of "Action" on menu bar */ #define OPTIONS_POS 4 /* Posn of "Options" on menu bar */ -#define ICS_POS 4 /* Posn of "ICS " on Options menu */ -#define SOUNDS_POS 6 /* Posn of "Sounds" on Options menu */ +#define ICS_POS 10 /* Posn of "ICS " on Options menu */ +#define SOUNDS_POS 12 /* Posn of "Sounds" on Options menu */ /* end grossness */ extern MyFont *font[NUM_SIZES][NUM_FONTS]; -- 1.7.0.4