X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=ioncore%2Fproperty.c;h=a8029d2e256f2cab4a0d02ea059d806c7c0755f9;hb=3102bb90c325d9b29ac304d8f3ea0a17df564fc8;hp=d142fad2da4bc90bc774124e0bac4ab220d1469f;hpb=a91cc07e7f876e79a733f25c266073c0b9afda1d;p=ion3.git diff --git a/ioncore/property.c b/ioncore/property.c index d142fad..a8029d2 100644 --- a/ioncore/property.c +++ b/ioncore/property.c @@ -1,7 +1,7 @@ /* * ion/ioncore/property.c * - * Copyright (c) Tuomo Valkonen 1999-2007. + * Copyright (c) Tuomo Valkonen 1999-2008. * * See the included file LICENSE for details. */ @@ -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);