vl = m_strlen(par->value);
p_realloc(&value, l + vl + 1);
vl = m_strlen(par->value);
p_realloc(&value, l + vl + 1);
- mutt_convert_string (&value, charset, Charset, M_ICONV_HOOK_FROM);
+ mutt_convert_string (&value, charset, MCharset.charset, M_ICONV_HOOK_FROM);
if (p->value && strstr(p->value, "=?")) {
rfc2047_decode(&p->value);
} else {
if (p->value && strstr(p->value, "=?")) {
rfc2047_decode(&p->value);
} else {
s = rfc2231_get_charset (p->value, charset, sizeof (charset));
rfc2231_decode_one (p->value, s);
s = rfc2231_get_charset (p->value, charset, sizeof (charset));
rfc2231_decode_one (p->value, s);
- mutt_convert_string (&p->value, charset, Charset, M_ICONV_HOOK_FROM);
+ mutt_convert_string (&p->value, charset, MCharset.charset, M_ICONV_HOOK_FROM);
- if (Charset && SendCharset) {
- charset = mutt_choose_charset(Charset, SendCharset,
+ if (MCharset.charset && MCharset.send_charset) {
+ charset = mutt_choose_charset(MCharset.charset, MCharset.send_charset,
*s, m_strlen(*s), &d, &dlen);
}
if (!charset) {
*s, m_strlen(*s), &d, &dlen);
}
if (!charset) {