X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=commands.c;h=aae6e61635640c7040b7dcae372d3273222b630e;hp=2cfb5e86e2f9de23721fb62e15be35d46f9051b7;hb=1c16e9623a9fb6a15bb284a6f7322b583ebc06a7;hpb=ae0ce4dfcafa0c3820f107c5bfa8bd06e5272b57 diff --git a/commands.c b/commands.c index 2cfb5e8..aae6e61 100644 --- a/commands.c +++ b/commands.c @@ -288,13 +288,12 @@ void ci_bounce_message (HEADER * h, int *redraw) buf); if (mutt_strwidth (prompt) > COLS - extra_space) { - mutt_format_string (prompt, sizeof (prompt), - 0, COLS - extra_space, 0, 0, - prompt, sizeof (prompt), 0); - str_cat (prompt, sizeof (prompt), "...?"); + mutt_format_string(prompt, sizeof(prompt), 0, COLS - extra_space, 0, 0, + prompt, sizeof(prompt), 0); + m_strcat(prompt, sizeof(prompt), "...?"); + } else { + m_strcat(prompt, sizeof(prompt), "?"); } - else - str_cat (prompt, sizeof (prompt), "?"); if (query_quadoption (OPT_BOUNCE, prompt) != M_YES) { rfc822_free_address (&adr);