]> granicus.if.org Git - neomutt/commitdiff
fix formatting
authorRichard Russon <rich@flatcap.org>
Wed, 13 Apr 2016 21:29:02 +0000 (22:29 +0100)
committerRichard Russon <rich@flatcap.org>
Thu, 14 Apr 2016 15:14:15 +0000 (16:14 +0100)
Respect the TITLE_FMT when on the compose screen.

compose.c

index 3eb4cc70220a5bdffb5544577b63829bee1d5dfc..c7a39c90fab1ef913243e14cc7c0626da9ed7d01 100644 (file)
--- a/compose.c
+++ b/compose.c
@@ -113,7 +113,7 @@ static void snd_entry (char *b, size_t blen, MUTTMENU *menu, int num)
 
 static void redraw_crypt_lines (HEADER *msg)
 {
-  mvaddstr (HDR_CRYPT, SidebarWidth, "Security: ");
+  mvprintw (HDR_CRYPT, SidebarWidth, TITLE_FMT, "Security: ");
 
   if ((WithCrypto & (APPLICATION_PGP | APPLICATION_SMIME)) == 0)
   {
@@ -178,7 +178,7 @@ static void redraw_mix_line (LIST *chain)
   int c;
   char *t;
 
-  mvaddstr (HDR_MIX, SidebarWidth,     "     Mix: ");
+  mvprintw (HDR_MIX, SidebarWidth, TITLE_FMT, "Mix: ");
 
   if (!chain)
   {