From 38897fc5a088ed562083350b668221d73a854cee Mon Sep 17 00:00:00 2001 From: Thomas Roessler Date: Tue, 23 Nov 1999 23:43:51 +0000 Subject: [PATCH] mutt_prepare_template() didn't work with PGP-encrypted messages due to an - errm - interesting typo. --- postpone.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/postpone.c b/postpone.c index c9f7ff4d6..86888b16b 100644 --- a/postpone.c +++ b/postpone.c @@ -545,7 +545,7 @@ int mutt_prepare_template (FILE *fp, CONTEXT *ctx, HEADER *newhdr, HEADER *hdr, #ifdef _PGPPATH /* decrypt pgp/mime encoded messages */ - if ((newhdr->pgp & PGPENCRYPT) && + if ((hdr->pgp & PGPENCRYPT) && mutt_is_multipart_encrypted (newhdr->content)) { newhdr->pgp |= PGPENCRYPT; -- 2.40.0