1
0
mirror of https://github.com/Llewellynvdm/conky.git synced 2024-12-25 20:11:11 +00:00

Fix broken $execbar (bug 2133709)

This commit is contained in:
Brenden Matthews 2008-12-07 15:49:04 -07:00
parent 5626eade7f
commit 1fcbecf4af
2 changed files with 2 additions and 0 deletions

View File

@ -2,6 +2,7 @@
* Removing $freq_dyn and $freq_dyn_g due to license issues (see sf.net * Removing $freq_dyn and $freq_dyn_g due to license issues (see sf.net
tracker bug #2166612) tracker bug #2166612)
* Allow more than 9 CPUs for CPU stats (bug 2155500) * Allow more than 9 CPUs for CPU stats (bug 2155500)
* Fix broken $execbar (bug 2133709)
2008-12-06 2008-12-06
* Switching from svn to git repository. The repo can be viewed from * Switching from svn to git repository. The repo can be viewed from

View File

@ -5317,6 +5317,7 @@ static void generate_text_internal(char *p, int p_max_size,
barnum = get_barnum(p); barnum = get_barnum(p);
if (barnum >= 0.0) { if (barnum >= 0.0) {
barnum /= 100;
new_bar(p, 0, 4, round_to_int(barnum * 255.0)); new_bar(p, 0, 4, round_to_int(barnum * 255.0));
} }
} }