Fix broken $execbar (bug 2133709)
authorBrenden Matthews <brenden@rty.ca>
Sun, 7 Dec 2008 22:49:04 +0000 (15:49 -0700)
committerBrenden Matthews <brenden@rty.ca>
Sun, 7 Dec 2008 22:49:04 +0000 (15:49 -0700)
ChangeLog
src/conky.c

index 37a23d4..bdd00fa 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,6 +2,7 @@
        * Removing $freq_dyn and $freq_dyn_g due to license issues (see sf.net
        tracker bug #2166612)
        * Allow more than 9 CPUs for CPU stats (bug 2155500)
+       * Fix broken $execbar (bug 2133709)
 
 2008-12-06
        * Switching from svn to git repository.  The repo can be viewed from
index a1f8295..7f8e3fe 100644 (file)
@@ -5317,6 +5317,7 @@ static void generate_text_internal(char *p, int p_max_size,
                                barnum = get_barnum(p);
 
                                if (barnum >= 0.0) {
+                                       barnum /= 100;
                                        new_bar(p, 0, 4, round_to_int(barnum * 255.0));
                                }
                        }