X-Git-Url: http://git.shiar.nl/sheet.git/blobdiff_plain/55a1d332e52bfd24519ca9c0f0a479f5161cca4c..b1db17617e16cb9468808f7e2aea0ad8c96c166e:/charset.plp diff --git a/charset.plp b/charset.plp index 82f37f9..05336c1 100644 --- a/charset.plp +++ b/charset.plp @@ -274,7 +274,9 @@ sub tabinput { $row{set} = 'Unicode planes'; $row{cell} = do 'charset-ucplanes.inc.pl' or Alert('Table data could not be read', $@ || $!); - $row{endpoint} = 1023 * $row{cell}->{colsize}; + $row{endpoint} ||= 1023; + $row{endpoint} *= $row{cell}->{colsize}; + $row{startpoint} *= $row{cell}->{colsize}; } elsif (lc $input eq 'u') { $row{cell} = do 'charset-unicode.inc.pl'