]> granicus.if.org Git - mutt/commitdiff
Fix two more cases in which ctrl-G is interpreted as M_YES.
authorRené Clerc <rene@clerc.nl>
Tue, 15 Apr 2003 13:17:05 +0000 (13:17 +0000)
committerRené Clerc <rene@clerc.nl>
Tue, 15 Apr 2003 13:17:05 +0000 (13:17 +0000)
compose.c

index 451fdd2fe273f71d4aae95b4cde9ba989361568b..8160b26290361e05414a8d015c5be2d459de0f1a 100644 (file)
--- 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;