X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=sendlib.c;h=c1851019ece8c152309d5ac50708f2b5e64f06f8;hp=5f713b6e424cfc3d0714190f3c1db40a5546437d;hb=d6e1782b1e788bd1c4767443712bf1713cc013ef;hpb=b241f87351127948f83842d537c1a76536bf61c1 diff --git a/sendlib.c b/sendlib.c index 5f713b6..c185101 100644 --- a/sendlib.c +++ b/sendlib.c @@ -846,7 +846,7 @@ CONTENT *mutt_get_content_info (const char *fname, BODY * b) if (b != NULL && b->type == TYPETEXT && (!b->noconv && !b->force_charset)) mutt_set_parameter ("charset", (!info->hibin ? "us-ascii" : Charset - && !mutt_is_us_ascii (Charset) ? Charset : + && !charset_is_us_ascii (Charset) ? Charset : "unknown-8bit"), &b->parameter); return info; @@ -1151,7 +1151,7 @@ void mutt_update_encoding (BODY * a) char chsbuff[STRING]; /* override noconv when it's us-ascii */ - if (mutt_is_us_ascii (mutt_get_body_charset (chsbuff, sizeof (chsbuff), a))) + if (charset_is_us_ascii (mutt_get_body_charset (chsbuff, sizeof (chsbuff), a))) a->noconv = 0; if (!a->force_charset && !a->noconv)