mirror of
https://github.com/Llewellynvdm/conky.git
synced 2025-01-27 17:18:33 +00:00
Don't check if output to X is requested when compiled without X
This commit is contained in:
parent
295203dd4c
commit
01bc44aaf6
@ -5963,13 +5963,13 @@ static void draw_line(char *s)
|
|||||||
int cur_y_add = 0;
|
int cur_y_add = 0;
|
||||||
int font_h;
|
int font_h;
|
||||||
char *tmp_str;
|
char *tmp_str;
|
||||||
#endif /* X11 */
|
|
||||||
|
|
||||||
if ((output_methods & TO_X) == 0) {
|
if ((output_methods & TO_X) == 0) {
|
||||||
|
#endif /* X11 */
|
||||||
draw_string(s);
|
draw_string(s);
|
||||||
return;
|
return;
|
||||||
}
|
|
||||||
#ifdef X11
|
#ifdef X11
|
||||||
|
}
|
||||||
cur_x = text_start_x;
|
cur_x = text_start_x;
|
||||||
cur_y += font_ascent();
|
cur_y += font_ascent();
|
||||||
font_h = font_height();
|
font_h = font_height();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user