summaryrefslogtreecommitdiffstats
path: root/curs_lib.c
diff options
context:
space:
mode:
authorBrendan Cully <brendan@kublai.com>2010-02-21 13:16:59 -0800
committerBrendan Cully <brendan@kublai.com>2010-02-21 13:16:59 -0800
commitd6227244949f70c37a3d0701b181274724bbbb9c (patch)
tree0ed0cbb95cd03d548f85f185ef022b8ea62fa3a9 /curs_lib.c
parentc03dc2ca4109d2f15a8771a6480d9c278357ec88 (diff)
Make mutt_yesorno use mutt_message to print query. Closes #3352.
Diffstat (limited to 'curs_lib.c')
-rw-r--r--curs_lib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/curs_lib.c b/curs_lib.c
index 88f1559b..459d559a 100644
--- a/curs_lib.c
+++ b/curs_lib.c
@@ -223,7 +223,7 @@ int mutt_yesorno (const char *msg, int def)
answer_string = safe_malloc (COLS + 1);
snprintf (answer_string, COLS + 1, " ([%s]/%s): ", def == M_YES ? yes : no, def == M_YES ? no : yes);
answer_string_len = strlen (answer_string);
- printw ("%.*s%s", COLS - answer_string_len, msg, answer_string);
+ mutt_message ("%.*s%s", COLS - answer_string_len, msg, answer_string);
FREE (&answer_string);
FOREVER