Several of the compose-panel labels didn't use the TITLE_FMT to align
themselves. This causes formatting problems when the width is changed,
e.g. by the NNTP patch.
---
compose.c | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/compose.c b/compose.c
index 7e52d54..1da1848 100644
--- a/compose.c
+++ b/compose.c
@@ -110,7 +110,7 @@ static void snd_entry (char *b, size_t blen, MUTTMENU
*menu, int num)
static void redraw_crypt_lines (HEADER *msg)
{
- mutt_window_mvaddstr (MuttIndexWindow, HDR_CRYPT, 0, "Security: ");
+ mutt_window_mvprintw (MuttIndexWindow, HDR_CRYPT, 0, TITLE_FMT, "Security:
");
if ((WithCrypto & (APPLICATION_PGP | APPLICATION_SMIME)) == 0)
{
@@ -150,11 +150,11 @@ static void redraw_crypt_lines (HEADER *msg)
if ((WithCrypto & APPLICATION_PGP)
&& (msg->security & APPLICATION_PGP) && (msg->security & SIGN))
- printw ("%s%s", _(" sign as: "), PgpSignAs ? PgpSignAs : _("<default>"));
+ printw (TITLE_FMT "%s", _(" sign as: "), PgpSignAs ? PgpSignAs :
_("<default>"));
if ((WithCrypto & APPLICATION_SMIME)
&& (msg->security & APPLICATION_SMIME) && (msg->security & SIGN)) {
- printw ("%s%s", _(" sign as: "), SmimeDefaultKey ? SmimeDefaultKey :
_("<default>"));
+ printw (TITLE_FMT "%s", _(" sign as: "), SmimeDefaultKey ?
SmimeDefaultKey : _("<default>"));
}
if ((WithCrypto & APPLICATION_SMIME)
@@ -162,7 +162,7 @@ static void redraw_crypt_lines (HEADER *msg)
&& (msg->security & ENCRYPT)
&& SmimeCryptAlg
&& *SmimeCryptAlg) {
- mutt_window_mvprintw (MuttIndexWindow, HDR_CRYPTINFO, 40, "%s%s",
_("Encrypt with: "),
+ mutt_window_mvprintw (MuttIndexWindow, HDR_CRYPTINFO, 40, TITLE_FMT "%s",
_("Encrypt with: "),
NONULL(SmimeCryptAlg));
}
}
@@ -175,7 +175,7 @@ static void redraw_mix_line (LIST *chain)
int c;
char *t;
- mutt_window_mvaddstr (MuttIndexWindow, HDR_MIX, 0, " Mix: ");
+ mutt_window_mvprintw (MuttIndexWindow, HDR_MIX, 0, TITLE_FMT, "Mix: ");
if (!chain)
{
--
2.8.2