From 9faecd7b6c48afb68f8c934285f5899ad96c4947 Mon Sep 17 00:00:00 2001 From: Jordi Sanfeliu Date: Mon, 4 Feb 2013 19:06:27 +0100 Subject: [PATCH] fixed excessive graph bottom padding --- lib/fs.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/fs.pm b/lib/fs.pm index 180ee73..9f2751b 100644 --- a/lib/fs.pm +++ b/lib/fs.pm @@ -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";