From 581c1b9bf05b4e6cd0c7c5ad087c79c3fcac7014 Mon Sep 17 00:00:00 2001 From: Thomas Roessler Date: Sun, 28 May 2000 20:32:05 +0000 Subject: [PATCH] Don't bother the user with messages about PGP signature verification when there is no PGP stuff about the message. --- commands.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/commands.c b/commands.c index 35ee03d1..d32e4647 100644 --- a/commands.c +++ b/commands.c @@ -143,9 +143,10 @@ int mutt_display_message (HEADER *cur) pager_t info; #ifdef HAVE_PGP - mutt_message ((cur->pgp & PGPGOODSIGN) ? - _("PGP signature successfully verified.") : - _("PGP signature could NOT be verified.")); + if (cur->pgp) + mutt_message ((cur->pgp & PGPGOODSIGN) ? + _("PGP signature successfully verified.") : + _("PGP signature could NOT be verified.")); #endif /* Invoke the builtin pager */ -- 2.40.0