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 7097306..163e166 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 {