diff options
author | Alexey Dokuchaev <danfe@FreeBSD.org> | 2009-09-11 14:11:03 +0000 |
---|---|---|
committer | Alexey Dokuchaev <danfe@FreeBSD.org> | 2009-09-11 14:11:03 +0000 |
commit | 46164d673fd3f09891e7b1c24263596a4f967a82 (patch) | |
tree | 74696fd07aba02a6e762e7c4af33c9ec0d6b8cb9 /x11-wm | |
parent | f5feb9ee27c28df253f3da649ad15adef9cdc3d3 (diff) |
Notes
Diffstat (limited to 'x11-wm')
-rw-r--r-- | x11-wm/wmii/files/patch-no-utf8 | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/x11-wm/wmii/files/patch-no-utf8 b/x11-wm/wmii/files/patch-no-utf8 index 77b57af98e7b..366fa45037b0 100644 --- a/x11-wm/wmii/files/patch-no-utf8 +++ b/x11-wm/wmii/files/patch-no-utf8 @@ -89,3 +89,16 @@ *ret = list; XFree(prop.value); } +@@ -653,9 +659,10 @@ + str = nil; + + n = gettextlistproperty(w, name, &list); +- if(n > 0) ++ if(n > 0 && list) { + str = estrdup(*list); +- freestringlist(list); ++ freestringlist(list); ++ } + + return str; + } |