Bugfix: execgraph scale 0-0 instead of 0-100
authorNikolas Garofil <ngarofil@users.sourceforge.net>
Sun, 8 Jun 2008 20:39:07 +0000 (20:39 +0000)
committerNikolas Garofil <ngarofil@users.sourceforge.net>
Sun, 8 Jun 2008 20:39:07 +0000 (20:39 +0000)
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1149 7f574dfc-610e-0410-a909-a81674777703

ChangeLog
src/conky.c

index 8d84247..1047029 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,6 +2,7 @@
 
 2008-06-08
        * Bugfix, $memgraph wasn't working and needed docs
+       * Bugfix, $execgraph showed 0-0 instead of 0-100 values
 
 2008-06-07
        * Fix bug where DEV_NAME can read uninitialised memory
index 5efa040..eeb3486 100644 (file)
@@ -4865,8 +4865,7 @@ static void generate_text_internal(char *p, int p_max_size,
                                        ERR("your execgraph value is not between 0 and 100, "
                                                "therefore it will be ignored");
                                } else {
-                                       new_graph(p, 0, 25, obj->c, obj->d, (int) (barnum),
-                                               obj->e, 1);
+                                       new_graph(p, 0, 25, obj->c, obj->d, (int) (barnum), 100, 1);
                                }
                        }
                        OBJ(execibar) {