diff options
author | oliver <oliver@FreeBSD.org> | 2005-03-05 20:11:28 +0800 |
---|---|---|
committer | oliver <oliver@FreeBSD.org> | 2005-03-05 20:11:28 +0800 |
commit | 589e3e219ad7a7b5b5e3247c2403cda4ef6cb781 (patch) | |
tree | 0aeb41160ade69fc93e78f458c0b4607377619e6 /mail/sylpheed2-devel/files | |
parent | 310e65852b46959635255dc0a00ae722e747906a (diff) | |
download | freebsd-ports-gnome-589e3e219ad7a7b5b5e3247c2403cda4ef6cb781.tar.gz freebsd-ports-gnome-589e3e219ad7a7b5b5e3247c2403cda4ef6cb781.tar.zst freebsd-ports-gnome-589e3e219ad7a7b5b5e3247c2403cda4ef6cb781.zip |
update to 1.9.4
Diffstat (limited to 'mail/sylpheed2-devel/files')
-rw-r--r-- | mail/sylpheed2-devel/files/patch-src::codeconv.c | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/mail/sylpheed2-devel/files/patch-src::codeconv.c b/mail/sylpheed2-devel/files/patch-src::codeconv.c deleted file mode 100644 index 5946301287bf..000000000000 --- a/mail/sylpheed2-devel/files/patch-src::codeconv.c +++ /dev/null @@ -1,24 +0,0 @@ ---- src/codeconv.c.orig Mon Feb 21 12:46:21 2005 -+++ src/codeconv.c Mon Feb 21 12:46:30 2005 -@@ -1577,8 +1577,20 @@ - Xalloca(buf, buflen, return); - conv_anytodisp(buf, buflen, str); - unmime_header(outbuf, buf); -- } else -+ } else { -+ gchar *tmp; - unmime_header(outbuf, str); -+ if (outbuf && !g_utf8_validate(outbuf, -1, NULL)) { -+ tmp = conv_codeset_strdup(outbuf, -+ conv_get_locale_charset_str(), -+ CS_UTF_8); -+ if (tmp) { -+ strncpy(outbuf, tmp, outlen-1); -+ g_free(tmp); -+ } -+ } -+ } -+ - } - - #define MAX_LINELEN 76 |