From 74e772184618543a6e088c977f79a8fef7e90253 Mon Sep 17 00:00:00 2001 From: Brenden Matthews Date: Fri, 16 Sep 2005 01:07:37 +0000 Subject: [PATCH] right alignment fix git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky@324 7f574dfc-610e-0410-a909-a81674777703 --- src/conky.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/conky.c b/src/conky.c index 0c151211..7730c813 100644 --- a/src/conky.c +++ b/src/conky.c @@ -3530,7 +3530,7 @@ static void draw_line(char *s) case BAR: { - if (cur_x > maximum_width - text_start_x && maximum_width > 0) { + if (cur_x - maximum_width - text_start_x && maximum_width > 0) { break; } int h = @@ -3586,7 +3586,7 @@ static void draw_line(char *s) case GRAPH: { - if (cur_x > maximum_width - text_start_x && maximum_width > 0) { + if (cur_x - maximum_width - text_start_x && maximum_width > 0) { break; } int h =