1
0
mirror of https://github.com/Llewellynvdm/conky.git synced 2025-01-22 22:58:34 +00:00

Fix build when configured without xft support.

git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky@483 7f574dfc-610e-0410-a909-a81674777703
This commit is contained in:
Roman Bogorodskiy 2006-01-07 11:26:33 +00:00
parent d4ab28ae2e
commit 773a93b0ec

View File

@ -5025,6 +5025,7 @@ else if (strcasecmp(name, a) == 0 || strcasecmp(name, b) == 0)
CONF_ERR;
}
CONF("xftfont") {
if (use_xft) {
#else
CONF("use_xft") {
if (string_to_bool(value))
@ -5038,12 +5039,13 @@ else if (strcasecmp(name, a) == 0 || strcasecmp(name, b) == 0)
}
CONF("font") {
#endif
if (use_xft) {
if (value) {
set_first_font(value);
} else
CONF_ERR;
#ifdef XFT
}
#endif
}
CONF("gap_x") {
if (value)