only use half the max size

master
Joey Hess 2007-10-25 00:28:40 -04:00
parent 0b0f50b484
commit 30bfe76eac
1 changed files with 1 additions and 1 deletions

View File

@ -58,7 +58,7 @@ sub preprocess (@) { #{{{
if (! @data) {
# generate an empty graph
push @data, 0 foreach 1..$params{max};
push @data, 0 foreach 1..($params{max} / 2);
}
my $color=exists $params{color} ? "($params{color})" : "";