Only include disp when needed
authorNikolas Garofil <garo@god.garofil.be>
Fri, 8 May 2009 14:04:16 +0000 (16:04 +0200)
committerNikolas Garofil <garo@god.garofil.be>
Fri, 8 May 2009 14:04:16 +0000 (16:04 +0200)
src/conky.c

index 5ad66e2..524f2b3 100644 (file)
@@ -242,6 +242,9 @@ enum alignment {
        NONE
 };
 
+/* display to connect to */
+static char *disp = NULL;
+
 #endif /* X11 */
 
 /* struct that has all info to be shared between
@@ -251,9 +254,6 @@ struct information info;
 /* default config file */
 static char *current_config;
 
-/* display to connect to */
-static char *disp = NULL;
-
 /* set to 1 if you want all text to be in uppercase */
 static unsigned int stuff_in_upper_case;