From: Steinar H. Gunderson Date: Tue, 26 Jun 2007 13:11:44 +0000 (+0200) Subject: More castling fixes. X-Git-Url: https://git.sesse.net/?p=remoteglot;a=commitdiff_plain;h=7055c4a7a39cf5e44881e19b18368d628eb4fe34 More castling fixes. --- diff --git a/remoteglot.pl b/remoteglot.pl index 9771780..454cc32 100644 --- a/remoteglot.pl +++ b/remoteglot.pl @@ -269,7 +269,7 @@ sub prettyprint_pv { # rook substr($nb[7], 0, 1, '-'); - substr($nb[7], 2, 1, 'R'); + substr($nb[7], 3, 1, 'R'); return ('0-0-0', prettyprint_pv(\@nb, @pvs)); } @@ -299,7 +299,7 @@ sub prettyprint_pv { # rook substr($nb[0], 0, 1, '-'); - substr($nb[0], 2, 1, 'R'); + substr($nb[0], 3, 1, 'R'); return ('0-0-0', prettyprint_pv(\@nb, @pvs)); }