Fix Alt+M JAWS command in Two-Machines mode
authorH.G. Muller <h.g.muller@hccnet.nl>
Wed, 31 Mar 2010 19:36:14 +0000 (21:36 +0200)
committerArun Persaud <arun@nubati.net>
Thu, 1 Apr 2010 05:55:05 +0000 (22:55 -0700)
The command refused to read the ast move because it contained thinking
output of the other engine. Let it pay attention to evenIfDuplicate.

winboard/jaws.c

index 19ee065..540bf7b 100644 (file)
@@ -947,7 +947,7 @@ SayMachineMove(int evenIfDuplicate)
                                    break;\r
                                }\r
                            }\r
-                           if(c != lastMover) return; // line is thinking output of future move, ignore.\r
+                           if(c != lastMover && !evenIfDuplicate) return; // line is thinking output of future move, ignore.\r
                            if(2*moveNr - (dotCount < 2) == previousMove)\r
                                return; // do not repeat same move; likely ponder output\r
                            sprintf(buf, "score %s %d at %d ply", \r