diff options
| author | pbuetow (lap824) <puppet@mx.buetow.org> | 2012-01-21 18:24:33 +0100 |
|---|---|---|
| committer | pbuetow (lap824) <puppet@mx.buetow.org> | 2012-01-21 18:24:33 +0100 |
| commit | 799a9c65ac87b49eee41eb2100f56eeea355518b (patch) | |
| tree | ea4a7d65129d665eb50fc5dbc36b07a3be9ea3b8 | |
| parent | 70b755dd0bb146d8ee143ff1c22fe9c2562dc9f4 (diff) | |
fix core number bug
| -rwxr-xr-x | loadbars | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -405,7 +405,7 @@ sub main_loop ($@) { my $rect_peak; - unless ($is_host_summary || $C{showcores}) { + unless ($is_host_summary || !$C{showcores}) { $current_corenum = 0; $rect_separator = get_rect $rects, "$key;separator"; $rect_separator->width(1); @@ -517,7 +517,7 @@ sub main_loop ($@) { } else { $app->print($x, $y, sprintf '%i:', - $C{showcores} ? $current_barnum + 1: $current_corenum); + $C{showcores} ? $current_corenum : $current_barnum + 1); } |
