From: Thomas Roessler Date: Tue, 8 Sep 1998 19:25:01 +0000 (+0000) Subject: This patch makes the view attachment menu show all X-Git-Tag: mutt-0-94-6i-rel~10 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b1b36a0211143f2fab3c3d996730f404614f1de1;p=mutt This patch makes the view attachment menu show all message/rfc822 parts as a new level, not only the multipart messages. This makes it possible to display a message/rfc822 part which includes only a image/jpeg part or something else which cant be viewed in the pager. (From: Jimmy Mäkelä ) --- diff --git a/recvattach.c b/recvattach.c index a627d16c..4db824a1 100644 --- a/recvattach.c +++ b/recvattach.c @@ -120,7 +120,7 @@ ATTACHPTR **mutt_gen_attach_list (BODY *m, new->level = level; /* We don't support multipart messages in the compose menu yet */ - if (!compose && mutt_is_message_type(m->type, m->subtype) && is_multipart (m->parts)) + if (!compose && mutt_is_message_type(m->type, m->subtype)) { idx = mutt_gen_attach_list (m->parts, idx, idxlen, idxmax, level + 1, compose); }