fixed excessive graph bottom padding

This commit is contained in:
Jordi Sanfeliu 2013-02-04 19:06:27 +01:00
parent 828ce9501d
commit 9faecd7b6c
1 changed files with 2 additions and 2 deletions

View File

@ -633,8 +633,8 @@ sub fs_cgi {
undef(@tmpz);
push(@tmp, "COMMENT: \\n");
for($n2 = 0, $n = 0; $n < 8; $n++) {
$f[$n] = trim($f[$n]);
if($f[$n]) {
$f[$n] = trim($f[$n]);
my $color;
$str = $fs->{desc}->{$f[$n]} || $f[$n];
@ -750,9 +750,9 @@ sub fs_cgi {
undef(@tmp);
undef(@tmpz);
for($n2 = 0, $n = 0; $n < 8; $n += 2) {
$f[$n] = trim($f[$n]);
my $color;
if($f[$n]) {
$f[$n] = trim($f[$n]);
$str = $fs->{desc}->{$f[$n]} || $f[$n];
if(trim($f[$n]) eq "/") {
$color = "#EE4444";