summaryrefslogtreecommitdiffstats
path: root/commands.c
diff options
context:
space:
mode:
authorArmin Wolfermann <aw@osn.de>2003-01-05 21:59:59 +0000
committerArmin Wolfermann <aw@osn.de>2003-01-05 21:59:59 +0000
commit09e177badcb0d6b79abd203065adc2904d30355a (patch)
tree30b58b559f5296c72b4dfc193563f32efc2a8d8c /commands.c
parent195d60c029b0157a808dea9aec1ca68361aace67 (diff)
Fix a number of invocations of mutt_yesorno(): Always explicitly use
the M_YES and M_NO constants. Fixes a couple of cases in which C-g would be mis-interpreted.
Diffstat (limited to 'commands.c')
-rw-r--r--commands.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/commands.c b/commands.c
index e89c4f1e..d4c77ea0 100644
--- a/commands.c
+++ b/commands.c
@@ -288,7 +288,7 @@ void ci_bounce_message (HEADER *h, int *redraw)
0, COLS-extra_space, 0, 0,
prompt, sizeof (prompt), 0);
strcat (prompt, "...?"); /* __STRCAT_CHECKED__ */
- if (mutt_yesorno (prompt, 1) != 1)
+ if (mutt_yesorno (prompt, M_YES) != M_YES)
{
rfc822_free_address (&adr);
CLEARLINE (LINES-1);