mirror of
https://github.com/Llewellynvdm/conky.git
synced 2024-11-17 10:35:10 +00:00
minor fixes
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky@25 7f574dfc-610e-0410-a909-a81674777703
This commit is contained in:
parent
58f30e64f7
commit
c090f68393
5
conky.c
5
conky.c
@ -1483,9 +1483,8 @@ static void generate_text()
|
|||||||
if (barnum > 100 || barnum < 0) {
|
if (barnum > 100 || barnum < 0) {
|
||||||
ERR("your execgraph value is not between 0 and 100, therefore it will be ignored");
|
ERR("your execgraph value is not between 0 and 100, therefore it will be ignored");
|
||||||
} else {
|
} else {
|
||||||
barnum = barnum / 100.0;
|
|
||||||
new_graph(p, 0,
|
new_graph(p, 0,
|
||||||
4, (int) (barnum));
|
25, (int) (barnum));
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
@ -2657,6 +2656,8 @@ static void draw_line(char *s)
|
|||||||
by,
|
by,
|
||||||
w * bar_usage / 255,
|
w * bar_usage / 255,
|
||||||
h);
|
h);
|
||||||
|
cur_y += h;
|
||||||
|
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user