git.shiar.nl
/
sheet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
tools/mkjson: set commandline flags as get options
[sheet.git]
/
keyboard
/
altgr
/
index.inc.plp
diff --git
a/keyboard/altgr/index.inc.plp
b/keyboard/altgr/index.inc.plp
index 5491df8767567749cd506183615eff003fb35fbf..c6accc7669958fa79fd273e60ec06dae8414a54c 100644
(file)
--- a/
keyboard/altgr/index.inc.plp
+++ b/
keyboard/altgr/index.inc.plp
@@
-139,7
+139,9
@@
if (@sample) {
print "<th>$_" for @sample;
say '</tr></thead>';
}
print "<th>$_" for @sample;
say '</tr></thead>';
}
-my $most = max(map { sum values %{ $_->{inventory}{''} } } %{$idx}{@incs});
+my $most = max(
+ map { sum values %{$_} } map { $_->{inventory}{''} } @{$idx}{@incs}
+);
for my $inc (@incs) {
my $table = $idx->{$inc};
print @sample ? '<tr><th>' : '<figure>';
for my $inc (@incs) {
my $table = $idx->{$inc};
print @sample ? '<tr><th>' : '<figure>';