From: Nikolas Garofil Date: Mon, 12 Apr 2010 21:36:20 +0000 (+0200) Subject: Bugfix: adding/removing use_xft in the config had no effect unless you restarted... X-Git-Url: http://vcs.maemo.org/git/?a=commitdiff_plain;ds=sidebyside;h=04435790955e0671f512f7b180e7d8fadeb4ceff;p=monky Bugfix: adding/removing use_xft in the config had no effect unless you restarted conky, reloading the config was not enough --- diff --git a/src/conky.c b/src/conky.c index 21850b5..7a2adad 100644 --- a/src/conky.c +++ b/src/conky.c @@ -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; diff --git a/src/x11.c b/src/x11.c index a64d5b5..a1ce8c0 100644 --- a/src/x11.c +++ b/src/x11.c @@ -44,7 +44,7 @@ #ifdef XFT #include -int use_xft = 0; +int use_xft; #endif #ifdef HAVE_XDBE