From 84f29d62fc76b1a2b1282b3c06697d1cc1be8031 Mon Sep 17 00:00:00 2001 From: Brenden Matthews Date: Wed, 24 Aug 2005 06:29:53 +0000 Subject: [PATCH] maximum_width git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky@161 7f574dfc-610e-0410-a909-a81674777703 --- src/conky.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/conky.c b/src/conky.c index ef83bdbd..bb6c0369 100644 --- a/src/conky.c +++ b/src/conky.c @@ -3032,7 +3032,7 @@ static void draw_line(char *s) case BAR: { - if (cur_x > maximum_width - text_start_x) { + if (cur_x > maximum_width - text_start_x && maximum_width > 0) { break; } int h =