From d3cf1c547bdd864b9863fc7139062f1edcbbd924 Mon Sep 17 00:00:00 2001 From: Yubin Ruan Date: Wed, 14 Mar 2018 12:51:51 +0800 Subject: [PATCH] inline parts of a multipart/alternative email Let Content-Disposition: inline for every part of a multipart/alternative email --- compose.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/compose.c b/compose.c index c5718bec1..c7c543e85 100644 --- a/compose.c +++ b/compose.c @@ -1102,6 +1102,7 @@ int mutt_compose_menu(struct Header *msg, char *fcc, size_t fcclen, struct Body *group = mutt_body_new(); group->type = TYPEMULTIPART; group->subtype = mutt_str_strdup("alternative"); + group->disposition = DISPINLINE; struct Body *alts = NULL; /* group tagged message into a multipart/alternative */ @@ -1111,6 +1112,7 @@ int mutt_compose_menu(struct Header *msg, char *fcc, size_t fcclen, if (bptr->tagged) { bptr->tagged = false; + bptr->disposition = DISPINLINE; /* for first match, set group desc according to match */ #define ALTS_TAG "Alternatives for \"%s\"" -- 2.40.0