Bugfix: adding/removing use_xft in the config had no effect unless you restarted...
authorNikolas Garofil <nikolas@garofil.be>
Mon, 12 Apr 2010 21:36:20 +0000 (23:36 +0200)
committerNikolas Garofil <nikolas@garofil.be>
Mon, 12 Apr 2010 21:36:20 +0000 (23:36 +0200)
src/conky.c
src/x11.c

index 21850b5..7a2adad 100644 (file)
@@ -4265,6 +4265,9 @@ static void set_default_configurations(void)
        output_methods = TO_STDOUT;
 #endif
 #ifdef X11
+#ifdef BUILD_XFT
+       use_xft = 0;
+#endif
        show_graph_scale = 0;
        show_graph_range = 0;
        draw_shades = 1;
index a64d5b5..a1ce8c0 100644 (file)
--- a/src/x11.c
+++ b/src/x11.c
@@ -44,7 +44,7 @@
 
 #ifdef XFT
 #include <X11/Xft/Xft.h>
-int use_xft = 0;
+int use_xft;
 #endif
 
 #ifdef HAVE_XDBE