Fix JAWS bug saying side to move in ICS play
authorH.G. Muller <h.g.muller@hccnet.nl>
Sun, 29 Aug 2010 19:07:12 +0000 (21:07 +0200)
committerArun Persaud <arun@nubati.net>
Wed, 1 Sep 2010 05:12:50 +0000 (22:12 -0700)
This was done the wrong way around.

winboard/jaws.c

index 56c7411..15be5ee 100644 (file)
@@ -894,11 +894,11 @@ SayAllBoard()
 VOID\r
 SayWhosTurn()\r
 {\r
-       if(gameMode == MachinePlaysBlack || gameMode == IcsPlayingBlack) {\r
+       if(gameMode == MachinePlaysBlack || gameMode == IcsPlayingWhite) {\r
                if(WhiteOnMove(currentMove))\r
                        SayString("It is your turn", FALSE);\r
                else    SayString("It is your opponents turn", FALSE);\r
-       } else if(gameMode == MachinePlaysWhite || gameMode == IcsPlayingWhite) {\r
+       } else if(gameMode == MachinePlaysWhite || gameMode == IcsPlayingBlack) {\r
                if(WhiteOnMove(currentMove))\r
                        SayString("It is your opponents turn", FALSE);\r
                else    SayString("It is your turn", FALSE);\r