From 7055c4a7a39cf5e44881e19b18368d628eb4fe34 Mon Sep 17 00:00:00 2001 From: "Steinar H. Gunderson" Date: Tue, 26 Jun 2007 15:11:44 +0200 Subject: [PATCH] More castling fixes. --- remoteglot.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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)); } -- 2.39.2