From: Thomas Roessler Date: Tue, 22 Nov 2005 12:13:12 +0000 (+0000) Subject: Fix mutt/2139; also Debian #340116. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a2146e073f25aaa318ba79efb9e4f741f65ecdbd;p=neomutt Fix mutt/2139; also Debian #340116. --- diff --git a/handler.c b/handler.c index a5b04c27e..8bf8ba10a 100644 --- 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)