From 1fcbecf4af17c6559a8266614c9aa6f783081717 Mon Sep 17 00:00:00 2001 From: Brenden Matthews Date: Sun, 7 Dec 2008 15:49:04 -0700 Subject: [PATCH] Fix broken $execbar (bug 2133709) --- ChangeLog | 1 + src/conky.c | 1 + 2 files changed, 2 insertions(+) diff --git a/ChangeLog b/ChangeLog index 37a23d44..bdd00fa0 100644 --- 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 diff --git a/src/conky.c b/src/conky.c index a1f8295b..7f8e3fee 100644 --- a/src/conky.c +++ b/src/conky.c @@ -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)); } }