1
0
mirror of https://github.com/Llewellynvdm/conky.git synced 2024-12-26 04:17:33 +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:
Brenden Matthews 2005-08-10 17:40:25 +00:00
parent 23eabd4796
commit 4af90d5e47

View File

@ -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) {