/*
* ion/ioncore/property.c
*
- * Copyright (c) Tuomo Valkonen 1999-2007.
+ * Copyright (c) Tuomo Valkonen 1999-2008.
*
* See the included file LICENSE for details.
*/
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);