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

Don't check if output to X is requested when compiled without X

This commit is contained in:
Nikolas Garofil 2009-05-31 16:29:12 +02:00
parent 295203dd4c
commit 01bc44aaf6

View File

@ -5963,13 +5963,13 @@ static void draw_line(char *s)
int cur_y_add = 0;
int font_h;
char *tmp_str;
#endif /* X11 */
if ((output_methods & TO_X) == 0) {
#endif /* X11 */
draw_string(s);
return;
}
#ifdef X11
}
cur_x = text_start_x;
cur_y += font_ascent();
font_h = font_height();