From: Steinar H. Gunderson Date: Mon, 14 Nov 2016 18:14:18 +0000 (+0100) Subject: Fix a syntax error. X-Git-Url: https://git.sesse.net/?p=remoteglot;a=commitdiff_plain;h=703728497c14b57cb2e7db9e90376ba82468ecf3;hp=661cf41244a9be2e618b2a5fe2cf3c03a7e79009 Fix a syntax error. --- diff --git a/remoteglot.pl b/remoteglot.pl index 7097306..163e166 100755 --- a/remoteglot.pl +++ b/remoteglot.pl @@ -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 {