1
0
mirror of https://github.com/Llewellynvdm/conky.git synced 2025-01-27 09:08:25 +00:00

Bugfix: Shades weren't placed correct after a $goto

This commit is contained in:
Pavel Labath 2012-06-27 16:10:09 +02:00
parent 8827d6158e
commit 818df1078c

View File

@ -3215,6 +3215,10 @@ int draw_each_line_inner(char *s, int special_index, int last_special_applied)
case GOTO:
if (specials[special_index].arg >= 0) {
cur_x = (int) specials[special_index].arg;
#ifdef BUILD_X11
//make sure shades are 1 pixel to the right of the text
if(draw_mode == BG) cur_x++;
#endif
}
break;