aboutsummaryrefslogtreecommitdiffstats
path: root/composer/e-msg-composer.c
diff options
context:
space:
mode:
Diffstat (limited to 'composer/e-msg-composer.c')
-rw-r--r--composer/e-msg-composer.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/composer/e-msg-composer.c b/composer/e-msg-composer.c
index 18cf3382e0..661d875a74 100644
--- a/composer/e-msg-composer.c
+++ b/composer/e-msg-composer.c
@@ -202,7 +202,7 @@ best_encoding (GByteArray *buf, const char *charset)
if (!charset)
return -1;
- cd = iconv_open (charset, "utf-8");
+ cd = e_iconv_open (charset, "utf-8");
if (cd == (iconv_t) -1)
return -1;
@@ -211,13 +211,13 @@ best_encoding (GByteArray *buf, const char *charset)
do {
out = outbuf;
outlen = sizeof (outbuf);
- status = iconv (cd, &in, &inlen, &out, &outlen);
+ status = e_iconv (cd, &in, &inlen, &out, &outlen);
for (ch = out - 1; ch >= outbuf; ch--) {
if ((unsigned char)*ch > 127)
count++;
}
} while (status == (size_t) -1 && errno == E2BIG);
- iconv_close (cd);
+ e_iconv_close (cd);
if (status == (size_t) -1)
return -1;