From d6227244949f70c37a3d0701b181274724bbbb9c Mon Sep 17 00:00:00 2001 From: Brendan Cully Date: Sun, 21 Feb 2010 13:16:59 -0800 Subject: [PATCH] Make mutt_yesorno use mutt_message to print query. Closes #3352. --- curs_lib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.40.0