diff options
author | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2005-01-26 06:14:42 +0000 |
---|---|---|
committer | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2005-01-26 06:14:42 +0000 |
commit | 0a29ffb9650075946e30615a2e1cdcfa2a988015 (patch) | |
tree | e3eb1417650f9b6261958ec80e47cc73c7863421 /src/imap.c | |
parent | fe5e7d7f82d82dc82d045fca77b00af5308d4bf2 (diff) |
added constant C_INTERNAL and CS_INTERNAL.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@41 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'src/imap.c')
-rw-r--r-- | src/imap.c | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -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 @@ -3660,10 +3660,10 @@ static gchar *imap_modified_utf7_to_utf8(const gchar *mutf7_str) if (!iconv_ok) return g_strdup(mutf7_str); if (cd == (iconv_t)-1) { - cd = iconv_open(conv_get_internal_charset_str(), CS_UTF_7); + cd = iconv_open(CS_INTERNAL, CS_UTF_7); if (cd == (iconv_t)-1) { g_warning("iconv cannot convert UTF-7 to %s\n", - conv_get_internal_charset_str()); + CS_INTERNAL); iconv_ok = FALSE; return g_strdup(mutf7_str); } @@ -3729,10 +3729,10 @@ static gchar *imap_utf8_to_modified_utf7(const gchar *from) if (!iconv_ok) return g_strdup(from); if (cd == (iconv_t)-1) { - cd = iconv_open(CS_UTF_7, conv_get_internal_charset_str()); + cd = iconv_open(CS_UTF_7, CS_INTERNAL); if (cd == (iconv_t)-1) { g_warning(_("iconv cannot convert %s to UTF-7\n"), - conv_get_internal_charset_str()); + CS_INTERNAL); iconv_ok = FALSE; return g_strdup(from); } |