chiark
/
gitweb
/
~yarrgweb
/
ypp-sc-tools.web-test.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Commodity location in deciles
[ypp-sc-tools.web-test.git]
/
yarrg
/
web
/
routetrade
diff --git
a/yarrg/web/routetrade
b/yarrg/web/routetrade
index 72e9bf7a8a96cf706e4557d6fd26cadfb2dfd2e2..b5b5bf34c32d160b60ba45810e3f656c5bf5646c 100644
(file)
--- a/
yarrg/web/routetrade
+++ b/
yarrg/web/routetrade
@@
-710,9
+710,9
@@
END
$desc.= (sprintf ", commodity %d of %d",
$incl, $maxpic);
if ($classinfo->{'maxposinclass'} >= 8) {
$desc.= (sprintf ", commodity %d of %d",
$incl, $maxpic);
if ($classinfo->{'maxposinclass'} >= 8) {
- my @tmbs= qw(
tt t m b bb
);
+ my @tmbs= qw(
0 1 2 3 4 5 6 7 8 9
);
my $tmbi= ($incl+0.5)*$#tmbs/$maxpic;
my $tmbi= ($incl+0.5)*$#tmbs/$maxpic;
- $abbrev.= " ".$tmbs[$tmbi];
+ $abbrev.= " ".$tmbs[$tmbi]
." "
;
}
}
$$todo->{'posinclass'}=
}
}
$$todo->{'posinclass'}=