From 4af90d5e475802ff254b161cfdf7950a5fe570a6 Mon Sep 17 00:00:00 2001 From: Brenden Matthews Date: Wed, 10 Aug 2005 17:40:25 +0000 Subject: [PATCH] oops..fixed memgraph again git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky@94 7f574dfc-610e-0410-a909-a81674777703 --- conky.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/conky.c b/conky.c index a860a3b0..50ca08ab 100644 --- a/conky.c +++ b/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) {