diff options
author | miwi <miwi@FreeBSD.org> | 2006-08-11 04:53:44 +0800 |
---|---|---|
committer | miwi <miwi@FreeBSD.org> | 2006-08-11 04:53:44 +0800 |
commit | 334fa570bd68087389fcd8190c1e114433fb8236 (patch) | |
tree | 652904349b1b0be33df4f5a076f9f39e07295c56 /x11-wm/icewm/files | |
parent | cd5b22ddfb3d9310ac2320f21b06fe84cc7a0306 (diff) | |
download | freebsd-ports-gnome-334fa570bd68087389fcd8190c1e114433fb8236.tar.gz freebsd-ports-gnome-334fa570bd68087389fcd8190c1e114433fb8236.tar.zst freebsd-ports-gnome-334fa570bd68087389fcd8190c1e114433fb8236.zip |
- Update to 1.2.27
PR: ports/101599
Submitted by: KATO Tsuguru <tkato432(at)yahoo.com>
Approved by: krion (mentor)
Diffstat (limited to 'x11-wm/icewm/files')
-rw-r--r-- | x11-wm/icewm/files/patch-src_ylocale.cc | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/x11-wm/icewm/files/patch-src_ylocale.cc b/x11-wm/icewm/files/patch-src_ylocale.cc index e1b29970890f..1a200211225b 100644 --- a/x11-wm/icewm/files/patch-src_ylocale.cc +++ b/x11-wm/icewm/files/patch-src_ylocale.cc @@ -1,6 +1,6 @@ ---- src/ylocale.cc.orig Mon Apr 17 01:12:31 2006 -+++ src/ylocale.cc Mon Apr 17 16:19:46 2006 -@@ -149,10 +149,11 @@ +--- src/ylocale.cc.orig Mon Aug 7 03:38:14 2006 ++++ src/ylocale.cc Tue Aug 8 01:00:33 2006 +@@ -149,7 +149,8 @@ return NULL; YUChar * uStr(new YUChar[lLen + 1]); @@ -9,8 +9,4 @@ + char * outbuf((char *) uStr); size_t inlen(lLen), outlen(4 * lLen); -- if (0 > (int) iconv(instance->toUnicode, const_cast<char **>(&inbuf), &inlen, &outbuf, &outlen)) -+ if (0 > (int) iconv(instance->toUnicode, &inbuf, &inlen, &outbuf, &outlen)) - warn(_("Invalid multibyte string \"%s\": %s"), lStr, strerror(errno)); - - *((YUChar *) outbuf) = 0; + if (0 > (int) iconv(instance->toUnicode, &inbuf, &inlen, &outbuf, &outlen)) |