X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=ioncore%2Fproperty.c;h=84aad6192889b92e1e4df76fc82adb5c5e0aa662;hb=96fd54b514d893d3cececac69af8d77b0346bf05;hp=d142fad2da4bc90bc774124e0bac4ab220d1469f;hpb=214381793227e299ae1e72caa24ad2cfde029ef1;p=ion3.git diff --git a/ioncore/property.c b/ioncore/property.c index d142fad..84aad61 100644 --- a/ioncore/property.c +++ b/ioncore/property.c @@ -191,7 +191,7 @@ char **xwindow_get_text_property(Window win, Atom a, int *nret) if(!ioncore_g.use_mb){ Status st=XTextPropertyToStringList(&prop, &list, &n); - ok=(st==0); + ok=(st!=0); }else{ int st=XmbTextPropertyToTextList(ioncore_g.dpy, &prop, &list, &n); ok=(st>=0);