From: H.G. Muller Date: Mon, 18 Feb 2013 17:33:34 +0000 (+0100) Subject: Fix graying of Revert menu item X-Git-Url: http://winboard.nl/cgi-bin?a=commitdiff_plain;h=d786e576c96bb823c4f1757f7b8b9c3f4cfec2a8;p=xboard.git Fix graying of Revert menu item The new code was checkmarking it in stead of enabling it! --- diff --git a/menus.c b/menus.c index 7a775cf..f131a68 100644 --- a/menus.c +++ b/menus.c @@ -1091,8 +1091,8 @@ SetMachineThinkingEnables () void GreyRevert (Boolean grey) { - MarkMenuItem("Edit.Revert", !grey); - MarkMenuItem("Edit.Annotate", !grey); + EnableNamedMenuItem("Edit.Revert", !grey); + EnableNamedMenuItem("Edit.Annotate", !grey); } char *