aboutsummaryrefslogtreecommitdiff
path: root/src/codeconv.c
diff options
context:
space:
mode:
authorhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2005-01-21 04:41:10 +0000
committerhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2005-01-21 04:41:10 +0000
commit9e5073da15a5359189724b670e5ed19cb6c4b0cb (patch)
tree129fa1e38f484d4d38179df9fac7ba03cd2b68a0 /src/codeconv.c
parentb103e4cf960dd4c9e601d63206388f35b657f19a (diff)
several code conversion fix.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@27 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'src/codeconv.c')
-rw-r--r--src/codeconv.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/codeconv.c b/src/codeconv.c
index 28659b2f..0b73d900 100644
--- a/src/codeconv.c
+++ b/src/codeconv.c
@@ -782,6 +782,11 @@ void conv_euctodisp(gchar *outbuf, gint outlen, const gchar *inbuf)
conv_euctoutf8(outbuf, outlen, inbuf);
}
+void conv_utf8todisp(gchar *outbuf, gint outlen, const gchar *inbuf)
+{
+ strncpy2(outbuf, inbuf, outlen);
+}
+
void conv_anytodisp(gchar *outbuf, gint outlen, const gchar *inbuf)
{
conv_anytoutf8(outbuf, outlen, inbuf);