projects
/
xboard.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
999fb2f
)
Fix menu grayout after illegal move
author
H.G. Muller
<h.g.muller@hccnet.nl>
Tue, 27 Dec 2011 16:56:07 +0000 (17:56 +0100)
committer
H.G. Muller
<h.g.muller@hccnet.nl>
Tue, 27 Dec 2011 16:56:07 +0000 (17:56 +0100)
TheThinkingEnables were not reset to user state after the engine rejected
the entered move as illegal.
backend.c
patch
|
blob
|
history
diff --git
a/backend.c
b/backend.c
index
84692de
..
d765e81
100644
(file)
--- a/
backend.c
+++ b/
backend.c
@@
-8359,6
+8359,8
@@
if(appData.debugMode) fprintf(debugFP, "nodes = %d, %lld\n", (int) programStats.
parseList[currentMove], _(cps->which));
DisplayMoveError(buf1);
DrawPosition(FALSE, boards[currentMove]);
+
+ SetUserThinkingEnables();
return;
}
if (strncmp(message, "time", 4) == 0 && StrStr(message, "Illegal")) {