projects
/
xboard.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
485413c
)
Fix graying of Revert menu item
author
H.G. Muller
<h.g.muller@hccnet.nl>
Mon, 18 Feb 2013 17:33:34 +0000 (18:33 +0100)
committer
H.G. Muller
<h.g.muller@hccnet.nl>
Mon, 18 Feb 2013 17:33:34 +0000 (18:33 +0100)
The new code was checkmarking it in stead of enabling it!
menus.c
patch
|
blob
|
history
diff --git
a/menus.c
b/menus.c
index
7a775cf
..
f131a68
100644
(file)
--- 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 *