aboutsummaryrefslogtreecommitdiff
path: root/src/textview.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/textview.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/textview.c')
-rw-r--r--src/textview.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/textview.c b/src/textview.c
index da860bfe..2d5f6754 100644
--- a/src/textview.c
+++ b/src/textview.c
@@ -1,6 +1,6 @@
/*
* Sylpheed -- a GTK+ based, lightweight, and fast e-mail client
- * Copyright (C) 1999-2004 Hiroyuki Yamamoto
+ * Copyright (C) 1999-2005 Hiroyuki Yamamoto
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -941,7 +941,7 @@ static void textview_write_line(TextView *textview, const gchar *str,
if (!conv)
strncpy2(buf, str, sizeof(buf));
else if (conv_convert(conv, buf, sizeof(buf), str) < 0)
- conv_localetodisp(buf, sizeof(buf), str);
+ conv_utf8todisp(buf, sizeof(buf), str);
strcrchomp(buf);
//if (prefs_common.conv_mb_alnum) conv_mb_alnum(buf);
@@ -997,7 +997,7 @@ void textview_write_link(TextView *textview, const gchar *str,
if (!conv)
strncpy2(buf, str, sizeof(buf));
else if (conv_convert(conv, buf, sizeof(buf), str) < 0)
- conv_localetodisp(buf, sizeof(buf), str);
+ conv_utf8todisp(buf, sizeof(buf), str);
strcrchomp(buf);