From 8f5640a6113293c68c9458edb1e88c45151633c9 Mon Sep 17 00:00:00 2001 From: Brenden Matthews Date: Sun, 7 Aug 2005 20:19:25 +0000 Subject: [PATCH] stuff git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky@77 7f574dfc-610e-0410-a909-a81674777703 --- TODO | 1 + conky.c | 1 + 2 files changed, 2 insertions(+) diff --git a/TODO b/TODO index 55422976..cf057254 100644 --- a/TODO +++ b/TODO @@ -8,6 +8,7 @@ Heres a very simplified roadmap for Conky. By no means does this mean any of th * rewrite parts of code, making them more effecient and modular (in particular, the way objects are handled is a complete mess) * conditional colours (ie if temp > 40C, make it red) * think of new features to add + * max_width 1.4 * ideas needed 1.5 (maybe in december?) diff --git a/conky.c b/conky.c index dd3ecd77..2aaf5d69 100644 --- a/conky.c +++ b/conky.c @@ -3112,6 +3112,7 @@ static void draw_line(char *s) case ALIGNC: { int pos_x = (text_start_x*2) + text_width - cur_x - ((float)get_string_width(p) / 2) - ((float)text_width / 2); + /*printf("pos_x %i text_start_x %i text_width %i cur_x %i get_string_width(p) %i\n", pos_x, text_start_x, text_width, cur_x, get_string_width(p));*/ if (pos_x > specials[special_index].arg) w = pos_x -