From: H.G. Muller Date: Sun, 10 Oct 2010 19:26:11 +0000 (+0200) Subject: Fix bug in ICS variant switch for Shogi X-Git-Url: http://winboard.nl/cgi-bin?a=commitdiff_plain;h=4d6bd700a90b76e2b34fbfba71e6f0fb61c556ae;p=xboard.git Fix bug in ICS variant switch for Shogi Because a test for 8x8 variants was done by <= VariantShogi, rather than <, spurious move-list fetching occurred in Shogi. --- diff --git a/backend.c b/backend.c index c517305..6bd4418 100644 --- a/backend.c +++ b/backend.c @@ -4008,7 +4008,7 @@ ParseBoard12(string) } if (gameInfo.boardHeight != ranks || gameInfo.boardWidth != files || - weird && (int)gameInfo.variant <= (int)VariantShogi) { + weird && (int)gameInfo.variant < (int)VariantShogi) { /* [HGM] We seem to have switched variant unexpectedly * Try to guess new variant from board size */