summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xloadbars.pl2
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;