From 4d6bd700a90b76e2b34fbfba71e6f0fb61c556ae Mon Sep 17 00:00:00 2001 From: H.G. Muller Date: Sun, 10 Oct 2010 21:26:11 +0200 Subject: [PATCH] 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. --- backend.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) 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 */ -- 1.7.0.4