check the string not the pointer to it
Dana Jansens danakj@orodu.net
1 files changed,
1 insertions(+),
1 deletions(-)
jump to
M
openbox/prop.c
→
openbox/prop.c
@@ -270,7 +270,7 @@
if (get_stringlist(win, prop, &list, &nstr) && nstr) { *ret = g_locale_to_utf8(list[0], -1, NULL, NULL, NULL); XFreeStringList(list); - if (ret) return TRUE; + if (*ret) return TRUE; } return FALSE; }