X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=compose.c;h=3b02b479ae01f007c24173b0a242c8868ffdd081;hp=31a72ecb7d696b740390d7417cb211cbc3c5c054;hb=f37ac5dd49c4cdfd0c65ccef6be020f865a1bac1;hpb=74a2265af51ce89bca845adc1d68f273c9933c13 diff --git a/compose.c b/compose.c index 31a72ec..3b02b47 100644 --- a/compose.c +++ b/compose.c @@ -27,6 +27,7 @@ #include "sort.h" #include "charset.h" #include "mx.h" +#include "compose.h" #ifdef MIXMASTER #include "remailer.h" @@ -435,10 +436,6 @@ static unsigned long cum_attachs_size (MUTTMENU * menu) return s; } -/* prototype for use below */ -static void compose_status_line (char *buf, size_t buflen, MUTTMENU * menu, - const char *p); - /* * compose_format_str() * @@ -1404,7 +1401,7 @@ int mutt_compose_menu (HEADER * msg, /* structure for new message */ compose_status_line (buf, sizeof (buf), menu, NONULL (ComposeFormat)); CLEARLINE (option (OPTSTATUSONTOP) ? 0 : LINES - 2); SETCOLOR (MT_COLOR_STATUS); - printw ("%-*.*s", COLS, COLS, buf); + printw ("nnn%-*.*s", COLS, COLS, buf); SETCOLOR (MT_COLOR_NORMAL); menu->redraw &= ~REDRAW_STATUS; }