projects
/
xboard.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
a78f8c1
)
Enforce -popupMoveErrors
author
H.G. Muller
<h.g.muller@hccnet.nl>
Tue, 22 Jan 2013 19:32:33 +0000 (20:32 +0100)
committer
H.G. Muller
<h.g.muller@hccnet.nl>
Tue, 22 Jan 2013 19:32:33 +0000 (20:32 +0100)
One move error was using DisplayError(), in stead of DisplayMoveError(),
and thus did not obey the -popupMoveErrors option.
backend.c
patch
|
blob
|
history
diff --git
a/backend.c
b/backend.c
index
7269a75
..
8135410
100644
(file)
--- a/
backend.c
+++ b/
backend.c
@@
-8203,7
+8203,7
@@
FakeBookMove: // [HGM] book: we jump here to simulate machine moves after book h
/* Machine move could not be parsed; ignore it. */
snprintf(buf1, MSG_SIZ*10, _("Illegal move \"%s\" from %s machine"),
machineMove, _(cps->which));
- DisplayError(buf1, 0);
+ DisplayMoveError(buf1);
snprintf(buf1, MSG_SIZ*10, "Xboard: Forfeit due to invalid move: %s (%c%c%c%c) res=%d",
machineMove, fromX+AAA, fromY+ONE, toX+AAA, toY+ONE, moveType);
if (gameMode == TwoMachinesPlay) {