X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=ioncore%2Fproperty.c;h=5a36627095fb580b1bb5e45c293a07b769fff2d9;hb=b97a79bde05b481046d4da64a6df83e735e2f367;hp=d142fad2da4bc90bc774124e0bac4ab220d1469f;hpb=a91cc07e7f876e79a733f25c266073c0b9afda1d;p=ion3.git diff --git a/ioncore/property.c b/ioncore/property.c index d142fad..5a36627 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-2009. * * 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);