1
0
mirror of https://github.com/Llewellynvdm/conky.git synced 2024-09-28 21:19:10 +00:00

Fix segfault when out_to_x is set to false

This commit is contained in:
Pavel Labath 2010-11-18 16:09:36 +01:00
parent 8ea7b11ebd
commit 3db3e6045f

View File

@ -111,13 +111,13 @@ namespace priv {
#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
l.pop();
l.pushboolean(false);
}
init_window(l, do_convert(l, -1).first);
}
}
++s;