stuff
authorBrenden Matthews <brenden1@rty.ca>
Sun, 7 Aug 2005 20:19:25 +0000 (20:19 +0000)
committerBrenden Matthews <brenden1@rty.ca>
Sun, 7 Aug 2005 20:19:25 +0000 (20:19 +0000)
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky@77 7f574dfc-610e-0410-a909-a81674777703

TODO
conky.c

diff --git a/TODO b/TODO
index 5542297..cf05725 100644 (file)
--- 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 dd3ecd7..2aaf5d6 100644 (file)
--- 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 -