git.shiar.nl
/
sheet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5cae863
)
charset: persistent data of unicode cell include
author
Mischa POSLAWSKY
<perl@shiar.org>
Sat, 22 Apr 2017 13:27:54 +0000
(15:27 +0200)
committer
Mischa POSLAWSKY
<perl@shiar.org>
Thu, 25 May 2017 20:13:05 +0000
(22:13 +0200)
Avoid multiple loads of same data in unicode preset.
charset-encoding.inc.pl
patch
|
blob
|
history
diff --git
a/charset-encoding.inc.pl
b/charset-encoding.inc.pl
index ec53ef54ac66b8dc0c825b76f8090ded15a7fbba..6e4647780af002ea8992d4ae4c805894adf9c974 100644
(file)
--- 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 ' . (