mirror of
https://github.com/Llewellynvdm/conky.git
synced 2024-12-24 11:55:43 +00:00
fixed compilation with --disable-x11
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1041 7f574dfc-610e-0410-a909-a81674777703
This commit is contained in:
parent
cdee40b511
commit
902ff4ca5c
@ -1,5 +1,8 @@
|
||||
# $Id$
|
||||
|
||||
2008-03-23
|
||||
* Fixed compilation with --disable-x11
|
||||
|
||||
2008-03-22
|
||||
* Conky 1.5.0 released
|
||||
* Smapi review: improved code, fixed memleaks and smapi_bat_perc when
|
||||
|
@ -127,6 +127,8 @@ static void print_version()
|
||||
exit(0);
|
||||
}
|
||||
|
||||
static char *suffixes[] = { "B", "kiB", "MiB", "GiB", "TiB", "PiB", "" };
|
||||
|
||||
#ifdef X11
|
||||
|
||||
/* text size */
|
||||
@ -164,8 +166,6 @@ static int selected_font = 0;
|
||||
static int font_count = -1;
|
||||
struct font_list *fonts = NULL;
|
||||
|
||||
static char *suffixes[] = { "B", "kiB", "MiB", "GiB", "TiB", "PiB", "" };
|
||||
|
||||
#ifdef XFT
|
||||
|
||||
#define font_height() (use_xft ? (fonts[selected_font].xftfont->ascent + \
|
||||
|
Loading…
Reference in New Issue
Block a user