fixed the legend in the second graph of the 'icecast' graph

This commit is contained in:
Jordi Sanfeliu 2013-06-11 16:08:24 +02:00
parent fe4b61b6f1
commit 47d1f19711
1 changed files with 1 additions and 1 deletions

View File

@ -472,7 +472,7 @@ sub icecast_cgi {
$n = 0;
foreach my $i (split(',', $icecast->{desc}->{$url})) {
$i = trim($i);
$str = sprintf("%-15s", $i);
$str = sprintf("%-15s", substr($i, 0, 15));
push(@tmp, "LINE1:ice" . $e . "_mp$n" . $LC[$n] . ":$str");
push(@tmpz, "LINE2:ice" . $e . "_mp$n" . $LC[$n] . ":$i");
push(@tmp, "GPRINT:ice" . $e . "_mp$n" . ":LAST: Cur\\:%3.0lf");