]> granicus.if.org Git - neomutt/commitdiff
Fix mutt/2139; also Debian #340116.
authorThomas Roessler <roessler@does-not-exist.org>
Tue, 22 Nov 2005 12:13:12 +0000 (12:13 +0000)
committerThomas Roessler <roessler@does-not-exist.org>
Tue, 22 Nov 2005 12:13:12 +0000 (12:13 +0000)
handler.c

index a5b04c27e14e2fe5d14d8d64ecd6857f05000a62..8bf8ba10ae391fc453282b8e52ee89d263ca8b99 100644 (file)
--- a/handler.c
+++ b/handler.c
@@ -1740,7 +1740,7 @@ static int external_body_handler (BODY *b, STATE *s)
 
 void mutt_decode_attachment (BODY *b, STATE *s)
 {
-  int istext = mutt_is_text_part (b);
+  int istext = mutt_is_text_part (b) || ((WithCrypto & APPLICATION_PGP) && mutt_is_application_pgp (b));
   iconv_t cd = (iconv_t)(-1);
 
   if (istext && s->flags & M_CHARCONV)