Bugfix: didn't work
authorNikolas Garofil <ngarofil@users.sourceforge.net>
Sun, 8 Jun 2008 11:16:51 +0000 (11:16 +0000)
committerNikolas Garofil <ngarofil@users.sourceforge.net>
Sun, 8 Jun 2008 11:16:51 +0000 (11:16 +0000)
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1143 7f574dfc-610e-0410-a909-a81674777703

ChangeLog
src/conky.c

index a37e0d6..a9fcc1b 100644 (file)
--- 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
index ed0f108..5efa040 100644 (file)
@@ -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 */