From: Mischa POSLAWSKY Date: Sat, 22 Apr 2017 13:27:54 +0000 (+0200) Subject: charset: persistent data of unicode cell include X-Git-Tag: v1.10~88 X-Git-Url: http://git.shiar.nl/sheet.git/commitdiff_plain/b690e02814ec7b65b10789fac83cd7c8b2b72b30 charset: persistent data of unicode cell include Avoid multiple loads of same data in unicode preset. --- diff --git a/charset-encoding.inc.pl b/charset-encoding.inc.pl index ec53ef5..6e46477 100644 --- a/charset-encoding.inc.pl +++ b/charset-encoding.inc.pl @@ -188,8 +188,9 @@ use utf8; }}, u => {setup => sub { my $row = shift; - $row->{cell} = do 'charset-unicode.inc.pl' + state $celldata = do 'charset-unicode.inc.pl' or Alert('Table data could not be read', $@ || $!); + $row->{cell} = $celldata; $row->{endpoint} ||= 0x1FFF; $row->{set} = 'Unicode ' . (