From 88914955587a9ffb239d95b6cffc14c20f5584fc Mon Sep 17 00:00:00 2001 From: Brenden Matthews Date: Tue, 25 Oct 2011 15:32:52 -0700 Subject: [PATCH] Fix another regression from c1277d650bff74d338e001c80a77a449450fd8e9. --- src/conky.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/conky.c b/src/conky.c index 8f1e01ec..f2ea4790 100644 --- a/src/conky.c +++ b/src/conky.c @@ -2995,6 +2995,9 @@ int draw_each_line_inner(char *s, int special_index, int last_special_applied) if (w == 0) { w = text_start_x + text_width - cur_x - 1; specials[special_index].graph_width = w - 1; + if (specials[special_index].graph_width != specials[special_index].graph_allocated) { + w = specials[special_index].graph_allocated + 1; + } } if (w < 0) { w = 0;