1
0
mirror of https://github.com/Llewellynvdm/conky.git synced 2024-11-15 17:47:09 +00:00

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

This commit is contained in:
Nikolas Garofil 2010-11-24 16:47:29 +01:00
parent b43e130180
commit d48e83e0d4

View File

@ -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;