]> git.sesse.net Git - remoteglot/commitdiff
Fix display of long castling.
authorSteinar H. Gunderson <sesse@debian.org>
Tue, 26 Jun 2007 12:59:50 +0000 (14:59 +0200)
committerSteinar H. Gunderson <sesse@debian.org>
Tue, 26 Jun 2007 12:59:50 +0000 (14:59 +0200)
remoteglot.pl

index a2a5e5ee9594646332d3657600113a0152fd49e4..9771780546a05904d6ff2e0f299c385e8fcfa813 100644 (file)
@@ -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