]> git.decadent.org.uk Git - ion3.git/blobdiff - ioncore/property.c
Add 20081002-1.
[ion3.git] / ioncore / property.c
index d142fad2da4bc90bc774124e0bac4ab220d1469f..a8029d2e256f2cab4a0d02ea059d806c7c0755f9 100644 (file)
@@ -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);