diff options
| author | Paul Buetow <paul@buetow.org> | 2011-08-07 11:41:13 +0000 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2011-08-07 11:41:13 +0000 |
| commit | 6833b5bcb7cc9cb57a6f15b3b0c872470aee01b6 (patch) | |
| tree | 1fc011132544e52df396c6e100b3b1208de14bab | |
| parent | 76174985aabe0fb868e15259ab6ea33035ec3182 (diff) | |
Fixed a bug in $barnum
| -rwxr-xr-x | loadbars.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/loadbars.pl b/loadbars.pl index b0b0c17..82cc552 100755 --- a/loadbars.pl +++ b/loadbars.pl @@ -351,7 +351,7 @@ sub main_loop ($@) { } # Avoid division by null - my $div = $num_stats - 1; + my $div = $num_stats; my $width = $CONF{width} / ($div ? $div : 1); my $barnum = -1; |
