X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=book.c;h=c52e6e397b17df030c65416e12a1eedb7f3a58d3;hb=bcf30987618488ae4b9e35ea1a4c300aa4cfe286;hp=caa61b178458be189ba5d0e67f85e6b5f7416ae8;hpb=0bf664e507241790adc9f419b24be4d1d5963b28;p=xboard.git diff --git a/book.c b/book.c index caa61b1..c52e6e3 100644 --- a/book.c +++ b/book.c @@ -500,9 +500,9 @@ move_to_string (char move_s[6], uint16 move) tr = t / width; tf = t % width; move_s[0] = ff + 'a'; - move_s[1] = fr + '1' - (BOARD_HEIGHT > 9); + move_s[1] = fr + '1' - (BOARD_HEIGHT == 10); move_s[2] = tf + 'a'; - move_s[3] = tr + '1' - (BOARD_HEIGHT > 9); + move_s[3] = tr + '1' - (BOARD_HEIGHT == 10); if(IS_SHOGI(gameInfo.variant) && p) { if(p == 2) p = 10; // Lion moves, for boards so big that 10 is out of range