summaryrefslogtreecommitdiff
path: root/lcarsng.c
diff options
context:
space:
mode:
authorKarl Melscher <kamel5@gmx.net>2018-03-08 11:09:01 +0100
committerKarl Melscher <kamel5@gmx.net>2018-03-08 11:09:01 +0100
commit613790da4e4ced1dea1513d8ef35c7bb4d193b19 (patch)
tree8588ec1596a7818a8a9aa5ee5da7f5b48d284d8b /lcarsng.c
parent228505d00df5733eb4824c2d6e1fb5883e375f7a (diff)
downloadskin-lcarsng-613790da4e4ced1dea1513d8ef35c7bb4d193b19.tar.gz
skin-lcarsng-613790da4e4ced1dea1513d8ef35c7bb4d193b19.tar.bz2
Show Load in second column
Diffstat (limited to 'lcarsng.c')
-rw-r--r--lcarsng.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lcarsng.c b/lcarsng.c
index 798982b..15dcad5 100644
--- a/lcarsng.c
+++ b/lcarsng.c
@@ -1324,7 +1324,7 @@ void cLCARSNGDisplayMenu::DrawLoad(void)
double SystemLoad;
if (getloadavg(&SystemLoad, 1) > 0) {
if (initial || SystemLoad != lastSystemLoad) {
- osd->DrawText(xa01, yb04, cString::sprintf("%.1f", SystemLoad), ColorFg, ColorBg, cFont::GetFont(fontOsd), xa02 - xa01, lineHeight, taBottom | taRight | taBorder);
+ osd->DrawText(xa00, yb05 - lineHeight, cString::sprintf("%.1f", SystemLoad), ColorFg, ColorBg, cFont::GetFont(fontOsd), xa02 - xa00, lineHeight, taBottom | taRight | taBorder);
lastSystemLoad = SystemLoad;
}
}