mirror of
https://github.com/Llewellynvdm/conky.git
synced 2025-02-05 21:48:33 +00:00
Fix segfault when out_to_x is set to false
This commit is contained in:
parent
8ea7b11ebd
commit
3db3e6045f
@ -111,13 +111,13 @@ namespace priv {
|
|||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
if(not out_to_x.get(l)) {
|
if(out_to_x.get(l))
|
||||||
|
init_window(l, do_convert(l, -1).first);
|
||||||
|
else {
|
||||||
// own_window makes no sense when not drawing to X
|
// own_window makes no sense when not drawing to X
|
||||||
l.pop();
|
l.pop();
|
||||||
l.pushboolean(false);
|
l.pushboolean(false);
|
||||||
}
|
}
|
||||||
|
|
||||||
init_window(l, do_convert(l, -1).first);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
++s;
|
++s;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user