summaryrefslogtreecommitdiffstats
path: root/compose.c
diff options
context:
space:
mode:
authorRené Clerc <rene@clerc.nl>2003-04-15 13:17:05 +0000
committerRené Clerc <rene@clerc.nl>2003-04-15 13:17:05 +0000
commitf94010b900c7e7380566a1ae1f82447d5e2c1447 (patch)
tree694c748aadc40d7bf3a7e32e15d9591b744e2e66 /compose.c
parent77295beb3b2e5a40629bcd1c8bf101ba62bba4f9 (diff)
Fix two more cases in which ctrl-G is interpreted as M_YES.
Diffstat (limited to 'compose.c')
-rw-r--r--compose.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/compose.c b/compose.c
index 451fdd2f..8160b262 100644
--- a/compose.c
+++ b/compose.c
@@ -1328,7 +1328,7 @@ int mutt_compose_menu (HEADER *msg, /* structure for new message */
&& msg->security & APPLICATION_SMIME)
{
if (mutt_yesorno (_("S/MIME already selected. Clear & continue ? "),
- M_YES) == M_NO)
+ M_YES) != M_YES)
{
mutt_clear_error ();
break;
@@ -1353,7 +1353,7 @@ int mutt_compose_menu (HEADER *msg, /* structure for new message */
&& msg->security & APPLICATION_PGP)
{
if (mutt_yesorno (_("PGP already selected. Clear & continue ? "),
- M_YES) == M_NO)
+ M_YES) != M_YES)
{
mutt_clear_error ();
break;