summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Buetow (venus) <paul@buetow.org>2012-01-21 16:21:38 +0100
committerPaul Buetow (venus) <paul@buetow.org>2012-01-21 16:21:38 +0100
commitce60c52e774c652cf85dbbdc0ffbed8c8dbb070c (patch)
treeb57f64af70ec106a14bb09ee0f528e6f1ed14280
parente181ce9e1128b2e18ed1d505d8b160f76118efe9 (diff)
reorder
-rw-r--r--README2
-rwxr-xr-xloadbars26
2 files changed, 14 insertions, 14 deletions
diff --git a/README b/README
index b9c1d3f..dbfe164 100644
--- a/README
+++ b/README
@@ -24,4 +24,4 @@ Versioning schema: a.b.c[.d], where
It's not a release if there is a -devel suffix. It's a development
version (in the trunk) then.
-For some usage/help please see the HELP file.
+For some help/usage please consult the HELP file.
diff --git a/loadbars b/loadbars
index 168cbc4..52ea1a2 100755
--- a/loadbars
+++ b/loadbars
@@ -413,19 +413,7 @@ sub main_loop ($@) {
$app->fill($rect_separator, Loadbars::GREY);
}
- $y = $C{height} - $heights{softirq};
- $rect_softirq->width($width);
- $rect_softirq->height($heights{softirq});
- $rect_softirq->x($x);
- $rect_softirq->y($y);
-
- $y -= $heights{irq};
- $rect_irq->width($width);
- $rect_irq->height($heights{irq});
- $rect_irq->x($x);
- $rect_irq->y($y);
-
- $y -= $heights{system};
+ $y = $C{height} - $heights{system};
$rect_system->width($width);
$rect_system->height($heights{system});
$rect_system->x($x);
@@ -455,6 +443,18 @@ sub main_loop ($@) {
$rect_idle->x($x);
$rect_idle->y($y);
+ $y -= $heights{irq};
+ $rect_irq->width($width);
+ $rect_irq->height($heights{irq});
+ $rect_irq->x($x);
+ $rect_irq->y($y);
+
+ $y -= $heights{softirq};
+ $rect_softirq->width($width);
+ $rect_softirq->height($heights{softirq});
+ $rect_softirq->x($x);
+ $rect_softirq->y($y);
+
$y -= $heights{steal};
$rect_steal->width($width);
$rect_steal->height($heights{steal});