projects
/
mikachu
/
openbox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6b7737a
)
check the string not the pointer to it
author
Dana Jansens
<danakj@orodu.net>
Sat, 19 Apr 2003 01:16:30 +0000
(
01:16
+0000)
committer
Dana Jansens
<danakj@orodu.net>
Sat, 19 Apr 2003 01:16:30 +0000
(
01:16
+0000)
openbox/prop.c
patch
|
blob
|
history
diff --git
a/openbox/prop.c
b/openbox/prop.c
index
7117a91
..
df6cbbe
100644
(file)
--- a/
openbox/prop.c
+++ b/
openbox/prop.c
@@
-270,7
+270,7
@@
gboolean prop_get_string_locale(Window win, Atom prop, char **ret)
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;
}