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 | 7884d58a75de2ae9e97c85317fa68d3b2492f0d4 (patch) | |
tree | f4f470b2506552947c557d6dec77b6f6dd32729f | |
parent | 14679bb8b07a1f56788da457fadc32e6354e89bf (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; |