From d48e83e0d4345a3bfed4dfe9f708fc7cc7531a11 Mon Sep 17 00:00:00 2001 From: Nikolas Garofil Date: Wed, 24 Nov 2010 16:47:29 +0100 Subject: [PATCH] Bugfix: Shades weren't placed correct after a $goto --- src/conky.cc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/conky.cc b/src/conky.cc index 87b0d03e..fc26a1d4 100644 --- a/src/conky.cc +++ b/src/conky.cc @@ -1727,6 +1727,10 @@ int draw_each_line_inner(char *s, int special_index, int last_special_applied) case GOTO: if (current->arg >= 0) { cur_x = (int) current->arg; +#ifdef BUILD_X11 + //make sure shades are 1 pixel to the right of the text + if(draw_mode == BG) cur_x++; +#endif } last_special_needed = special_index; break;