mirror of
https://github.com/Llewellynvdm/conky.git
synced 2025-01-23 07:08:31 +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:
parent
d4ab28ae2e
commit
773a93b0ec
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user