diff options
| author | Paul Buetow <paul@buetow.org> | 2011-08-07 15:19:14 +0000 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2011-08-07 15:19:14 +0000 |
| commit | ddcd8cf175246a0c2b55fa3808e34f4f60e1ab9a (patch) | |
| tree | fe72a6a888a684d5a01dfaa2f630356832bb23ad | |
| parent | f9ee974b58debd3be119299090b9803ec7a01b53 (diff) | |
Barnum text display starts at 1 and not at 0
| -rwxr-xr-x | loadbars.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/loadbars.pl b/loadbars.pl index f998e27..5f943bd 100755 --- a/loadbars.pl +++ b/loadbars.pl @@ -465,7 +465,7 @@ sub main_loop ($@) { } else { $app->print($x, $y, sprintf '%i:', - $C{togglecpu} ? $current_barnum : $current_corenum); + $C{togglecpu} ? $current_barnum + 1: $current_corenum); } $app->print($x, $y+=$space, sprintf '%d%s', $cpuaverage{nice}, 'ni'); |
