mirror of
https://github.com/Llewellynvdm/conky.git
synced 2024-11-18 02:55:12 +00:00
Fix compilation with --disable-own-window (sf.net #2820716)
This commit is contained in:
parent
a975f9e364
commit
602edfea15
@ -8012,9 +8012,12 @@ static void load_config_file(const char *f)
|
||||
}
|
||||
}
|
||||
CONF("alignment") {
|
||||
#ifdef OWN_WINDOW
|
||||
if (window.type == TYPE_DOCK)
|
||||
;
|
||||
else if (value) {
|
||||
else
|
||||
#endif /*OWN_WINDOW */
|
||||
if (value) {
|
||||
int a = string_to_alignment(value);
|
||||
|
||||
if (a <= 0) {
|
||||
|
Loading…
Reference in New Issue
Block a user