* the content-type.
*/
- if (textonly || (inlineonly && is_inline(ct))) {
+ if (textonly || (inlineonly && !is_inline(ct))) {
output_marker(ct, fmt);
return OK;
}
some code rearrangement. And to make this really ugly,
only do it in mhshow, not mhfixmsg, mhn, or mhstore. */
if (convert_content_charset (ct, &file) == OK) {
- close_encoding (ct);
+ (*ct->c_ceclosefnx) (ct);
if ((fd = (*ct->c_ceopenfnx) (ct, &file)) == NOTOK)
return NOTOK;
} else {
- admonish (NULL, "unable to convert character set%s to %s",
- ct->c_partno ? "of part " : "",
+ admonish (NULL, "unable to convert character set%s%s to %s",
+ ct->c_partno ? " of part " : "",
ct->c_partno ? ct->c_partno : "",
content_charset (ct));
}