From: H.G. Muller Date: Tue, 22 Jan 2013 19:32:33 +0000 (+0100) Subject: Enforce -popupMoveErrors X-Git-Url: http://winboard.nl/cgi-bin?a=commitdiff_plain;h=0a797389e035002fbc00ed5f4c4f8bfe1812d6c4;p=xboard.git Enforce -popupMoveErrors One move error was using DisplayError(), in stead of DisplayMoveError(), and thus did not obey the -popupMoveErrors option. --- diff --git a/backend.c b/backend.c index 7269a75..8135410 100644 --- 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) {