From c090f68393d56685db14e3acfa9996a7af1a9ba3 Mon Sep 17 00:00:00 2001 From: Brenden Matthews Date: Thu, 28 Jul 2005 07:15:29 +0000 Subject: [PATCH] minor fixes git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky@25 7f574dfc-610e-0410-a909-a81674777703 --- conky.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/conky.c b/conky.c index 3a411d34..d543af1e 100644 --- a/conky.c +++ b/conky.c @@ -1483,9 +1483,8 @@ static void generate_text() if (barnum > 100 || barnum < 0) { ERR("your execgraph value is not between 0 and 100, therefore it will be ignored"); } else { - barnum = barnum / 100.0; new_graph(p, 0, - 4, (int) (barnum)); + 25, (int) (barnum)); } } @@ -2657,6 +2656,8 @@ static void draw_line(char *s) by, w * bar_usage / 255, h); + cur_y += h; + } break;