mirror of
https://github.com/Llewellynvdm/conky.git
synced 2024-12-26 12:27:52 +00:00
oops..fixed memgraph again
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky@94 7f574dfc-610e-0410-a909-a81674777703
This commit is contained in:
parent
23eabd4796
commit
4af90d5e47
6
conky.c
6
conky.c
@ -1965,16 +1965,10 @@ static void generate_text()
|
||||
}
|
||||
|
||||
OBJ(memgraph) {
|
||||
/*new_graph(p, obj->a,
|
||||
obj->b, obj->c, obj->d,
|
||||
cur->memmax ? (cur->mem) /
|
||||
(cur->memmax) : 0, 0);*/
|
||||
new_graph(p, obj->a,
|
||||
obj->b, obj->c, obj->d,
|
||||
cur->memmax ? (cur->mem * 100.0) /
|
||||
(cur->memmax) : 0.0, 0);
|
||||
printf("%f\n", cur->memmax ? (cur->mem * 100.0) /
|
||||
(cur->memmax) : 0.0);
|
||||
}
|
||||
/* mixer stuff */
|
||||
OBJ(mixer) {
|
||||
|
Loading…
Reference in New Issue
Block a user