X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=recvcmd.c;h=e0c8457ad4dfa944ad01a730d6646b7c6c5a6a6b;hp=71fc95b8988ed27215ea8ca76cd0f246c4f6c702;hb=113624ce8c271834bb0921ebe9d9d0e22beeabd4;hpb=008170b67979fad71bc48537eeb879f51610275a diff --git a/recvcmd.c b/recvcmd.c index 71fc95b..e0c8457 100644 --- a/recvcmd.c +++ b/recvcmd.c @@ -155,7 +155,6 @@ void mutt_attach_bounce (FILE * fp, HEADER * hdr __attribute__ ((unused)), buf[0] = 0; rfc822_addrcat(buf, sizeof(buf), adr, 1); -#define extra_space (15+7+2) /* * See commands.c. */ @@ -163,6 +162,7 @@ void mutt_attach_bounce (FILE * fp, HEADER * hdr __attribute__ ((unused)), (p ? _("Bounce message to %s") : _("Bounce messages to %s")), buf); +#define extra_space (15+7+2) if (m_strwidth(prompt) > COLS - extra_space) { mutt_format_string (prompt, sizeof (prompt) - 4, 0, COLS - extra_space, 0, 0, @@ -171,6 +171,7 @@ void mutt_attach_bounce (FILE * fp, HEADER * hdr __attribute__ ((unused)), } else { m_strcat(prompt, sizeof(prompt), "?"); } +#undef extra_space if (query_quadoption (OPT_BOUNCE, prompt) != M_YES) { address_list_wipe(&adr);