3.0: change the option name to 'graphs_per_row'

This commit is contained in:
Jordi Sanfeliu 2013-01-03 10:13:43 +01:00
parent 6d6fe1a139
commit 3f6f368abd
1 changed files with 2 additions and 2 deletions

View File

@ -355,11 +355,11 @@ sub proc_cgi {
while($n < $ncpu) { while($n < $ncpu) {
if($title) { if($title) {
if($n == 0) { if($n == 0) {
main::graph_header($title, $proc->{per_row}); main::graph_header($title, $proc->{graphs_per_row});
} }
print(" <tr>\n"); print(" <tr>\n");
} }
for($n2 = 0; $n2 < $proc->{per_row}; $n2++) { for($n2 = 0; $n2 < $proc->{graphs_per_row}; $n2++) {
last unless $n < $ncpu; last unless $n < $ncpu;
if($title) { if($title) {
print(" <td bgcolor='" . $colors->{title_bg_color} . "'>\n"); print(" <td bgcolor='" . $colors->{title_bg_color} . "'>\n");