From: Steinar H. Gunderson Date: Tue, 26 Jun 2007 12:59:50 +0000 (+0200) Subject: Fix display of long castling. X-Git-Url: https://git.sesse.net/?p=remoteglot;a=commitdiff_plain;h=bb654d6a8510ec73677001d57af4b425e9e86fd5 Fix display of long castling. --- diff --git a/remoteglot.pl b/remoteglot.pl index a2a5e5e..9771780 100644 --- a/remoteglot.pl +++ b/remoteglot.pl @@ -260,7 +260,7 @@ sub prettyprint_pv { } # white long castling - if ($pv eq 'e1b1' && $piece eq 'K') { + if ($pv eq 'e1c1' && $piece eq 'K') { my @nb = @$board; # king @@ -290,7 +290,7 @@ sub prettyprint_pv { } # black long castling - if ($pv eq 'e8b8' && $piece eq 'k') { + if ($pv eq 'e8c8' && $piece eq 'k') { my @nb = @$board; # king