From b681774918cff9c5dcbb0bccd4470a3d68ab6e8f Mon Sep 17 00:00:00 2001 From: Philip Kovacs Date: Tue, 14 Nov 2006 22:10:28 +0000 Subject: [PATCH] fix compile error with --disable-x11 git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@769 7f574dfc-610e-0410-a909-a81674777703 --- ChangeLog | 3 +++ src/conky.c | 6 +++--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 1db0a58e..cbd00247 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ # $Id$ +2006-11-14 + * Fix compile error with --disable-x11. + 2006-11-13 * Use pthread_cond_timedwait() instead of sleep() in audacious thread. Will convert all worker threads to this timing method. diff --git a/src/conky.c b/src/conky.c index d41887e8..8d52c0bc 100644 --- a/src/conky.c +++ b/src/conky.c @@ -308,14 +308,14 @@ static int background_colour = 0; static int fixed_size = 0, fixed_pos = 0; #endif -/* maximum size of config TEXT buffer, i.e. below TEXT line. */ -static unsigned int max_user_text = MAX_USER_TEXT_DEFAULT; - static int minimum_width, minimum_height; static int maximum_width; #endif /* X11 */ +/* maximum size of config TEXT buffer, i.e. below TEXT line. */ +static unsigned int max_user_text = MAX_USER_TEXT_DEFAULT; + #ifdef HAVE_ICONV #define CODEPAGE_LENGTH 20 long iconv_selected;