-#ifdef X_HAVE_UTF8_STRING
- st=XmbTextListToTextProperty(ioncore_g.dpy, (char **)ptr, n,
- XUTF8StringStyle, &prop);
-#else
- st=XmbTextListToTextProperty(ioncore_g.dpy, (char **)ptr, n,
- XTextStyle, &prop);
-#endif
- st=!st;
+ int st=XmbTextListToTextProperty(ioncore_g.dpy, (char **)ptr, n,
+ XTextStyle, &prop);
+ ok=(st>=0);