1
0
mirror of https://github.com/Llewellynvdm/conky.git synced 2024-11-16 01:57:09 +00:00

cur_x definition is wrapped inside #ifdef BUILD_X11, but here it is used outside of such ifdef. (#326)

This commit is contained in:
Guido Falsi 2016-10-04 09:47:27 +02:00 committed by Brenden Matthews
parent 397a0e4581
commit 2e4839e601

View File

@ -1814,8 +1814,8 @@ int draw_each_line_inner(char *s, int special_index, int last_special_applied)
#endif /* BUILD_X11 */
case GOTO:
if (current->arg >= 0) {
cur_x = (int) current->arg;
#ifdef BUILD_X11
cur_x = (int) current->arg;
//make sure shades are 1 pixel to the right of the text
if(draw_mode == BG) cur_x++;
#endif /* BUILD_X11 */