From 26bea66044656d70c36234d57db0d0f4f99acb00 Mon Sep 17 00:00:00 2001 From: Nikolas Garofil Date: Sun, 8 Jun 2008 11:16:51 +0000 Subject: [PATCH] Bugfix: didn't work git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1143 7f574dfc-610e-0410-a909-a81674777703 --- ChangeLog | 3 +++ src/conky.c | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index a37e0d65..a9fcc1bc 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ # $Id$ +2008-06-08 + * Bugfix, $memgraph wasn't working + 2008-06-07 * Fix bug where DEV_NAME can read uninitialised memory * Fix bug where ${if_mounted /}foo$endif prints foo on 1 line for diff --git a/src/conky.c b/src/conky.c index ed0f1089..5efa040f 100644 --- a/src/conky.c +++ b/src/conky.c @@ -5523,7 +5523,7 @@ static void generate_text_internal(char *p, int p_max_size, OBJ(memgraph) { new_graph(p, obj->a, obj->b, obj->c, obj->d, cur->memmax ? (cur->mem * 100.0) / (cur->memmax) : 0.0, - 100, 0); + 100, 1); } /* mixer stuff */