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

Fix building without X11

Fix by Scott Moreau
This commit is contained in:
Nikolas Garofil 2012-08-26 13:53:25 +02:00
parent 55a1c41827
commit a0052f6b19

View File

@ -1919,8 +1919,8 @@ static void draw_stuff(void)
if(!append_fpointer)
NORM_ERR("Cannot append to '%s'", append_file.get(*state).c_str());
}
llua_draw_pre_hook();
#ifdef BUILD_X11
llua_draw_pre_hook();
if (out_to_x.get(*state)) {
selected_font = 0;
if (draw_shades.get(*state) && !draw_outline.get(*state)) {
@ -1958,8 +1958,8 @@ static void draw_stuff(void)
#endif /* BUILD_X11 */
draw_mode = FG;
draw_text();
llua_draw_post_hook();
#if defined(BUILD_X11)
llua_draw_post_hook();
#if defined(BUILD_XDBE)
if (out_to_x.get(*state)) {
xdbe_swap_buffers();