Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Call endwin() before calling PGP for traditional encryption.

--HG--
branch : HEAD
  • Loading branch information...
commit 8777d347e54c7a6dffacb361f703abcb74f10e1f 1 parent 798483b
Thomas Roessler authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 crypt.c
View
4 crypt.c
@@ -189,10 +189,10 @@ int mutt_protect (HEADER *msg, char *keylist)
}
if (traditional)
{
- mutt_message _("Invoking PGP...");
+ if (!isendwin ()) mutt_endwin _("Invoking PGP...");
if (!(pbody = pgp_traditional_encryptsign (msg->content, flags, keylist)))
return -1;
-
+
msg->content = pbody;
return 0;
}
Please sign in to comment.
Something went wrong with that request. Please try again.