]> git.sesse.net Git - remoteglot/commitdiff
Fix a syntax error.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Mon, 14 Nov 2016 18:14:18 +0000 (19:14 +0100)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Mon, 14 Nov 2016 18:14:18 +0000 (19:14 +0100)
remoteglot.pl

index 7097306fecfd3795c407392164fcda012c5de1ed..163e16666cf108d41cbfbb271a2c0d3e6e1c035c 100755 (executable)
@@ -533,7 +533,7 @@ sub prettyprint_pv_no_cache {
 sub prettyprint_pv {
        my ($pos, @pvs) = @_;
 
-       my $cachekey = $pos->{'fen'} . join('', @pvs);
+       my $cachekey = $pos->fen() . join('', @pvs);
        if (exists($pos->{'prettyprint_cache'}{$cachekey})) {
                return @{$pos->{'prettyprint_cache'}{$cachekey}};
        } else {