X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=commands.c;h=7c7d8698c68db27e9f2045f01768db7de58b2561;hp=4a40dc96973dbb7d8065dc0889cc10bc5af8a20c;hb=024fe257a96f97619e236bbdafe57b63101eb17f;hpb=1d11b74b25b888b74409380d588c5fdf14f65f1e diff --git a/commands.c b/commands.c index 4a40dc9..7c7d869 100644 --- a/commands.c +++ b/commands.c @@ -853,12 +853,12 @@ void mutt_edit_content_type (HEADER * h, BODY * b, FILE * fp) if (!is_multipart(b) && b->parts) body_list_wipe(&b->parts); - if (!mutt_is_message_type (b->type, b->subtype) && b->hdr) { + if (!mutt_is_message_type(b) && b->hdr) { b->hdr->content = NULL; header_delete(&b->hdr); } - if (fp && (is_multipart(b) || mutt_is_message_type(b->type, b->subtype))) + if (fp && (is_multipart(b) || mutt_is_message_type(b))) mutt_parse_part (fp, b); if (h) {