aboutsummaryrefslogtreecommitdiff
path: root/x11-wm/wmii
diff options
context:
space:
mode:
authorAlexey Dokuchaev <danfe@FreeBSD.org>2009-09-11 14:11:03 +0000
committerAlexey Dokuchaev <danfe@FreeBSD.org>2009-09-11 14:11:03 +0000
commit46164d673fd3f09891e7b1c24263596a4f967a82 (patch)
tree74696fd07aba02a6e762e7c4af33c9ec0d6b8cb9 /x11-wm/wmii
parentf5feb9ee27c28df253f3da649ad15adef9cdc3d3 (diff)
downloadports-46164d673fd3f09891e7b1c24263596a4f967a82.tar.gz
ports-46164d673fd3f09891e7b1c24263596a4f967a82.zip
Notes
Diffstat (limited to 'x11-wm/wmii')
-rw-r--r--x11-wm/wmii/files/patch-no-utf813
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;
+ }