diff options
author | Arnaud Fontaine <Arnaud Fontaine arnau@debian.org> | 2010-03-15 14:23:20 +0100 |
---|---|---|
committer | Arnaud Fontaine <Arnaud Fontaine arnau@debian.org> | 2010-03-15 14:23:20 +0100 |
commit | b7fd17d91871e6aeed83e0b9be3d5f3d4534d82b (patch) | |
tree | 721c38e1247a344caeb94fa0c3128b730737933f | |
parent | 697ebecdd334587515f78a5361cb7a84c296d12a (diff) |
xcb_get_text_property_reply() reply type could be XCB_NONE if the property is not present
-rw-r--r-- | icccm/icccm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/icccm/icccm.c b/icccm/icccm.c index f6397fe..c0139e4 100644 --- a/icccm/icccm.c +++ b/icccm/icccm.c @@ -60,7 +60,7 @@ xcb_get_text_property_reply(xcb_connection_t *c, { xcb_get_property_reply_t *reply = xcb_get_property_reply(c, cookie, e); - if(!reply) + if(!reply || reply->type == XCB_NONE) return 0; prop->_reply = reply; |