From: H.G. Muller Date: Sat, 7 Aug 2010 14:39:16 +0000 (+0200) Subject: Tricked by the grossnes X-Git-Url: http://winboard.nl/cgi-bin?a=commitdiff_plain;h=2a9ed786fc7e279874d1fa22a6bcf87d89328d14;p=xboard.git 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. --- 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];