X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=compose.c;h=5b163dcdaae7dcd8e707a1e9fbc4eb3899f77bd7;hp=ef7ee181e553e602a063c8304360d767a8c51c68;hb=c30879afd71ee24e706b6d8c7b7916f36407e937;hpb=3d937534e7b1ee723f86594b5e4c64c95158a933;ds=sidebyside diff --git a/compose.c b/compose.c index ef7ee18..5b163dc 100644 --- a/compose.c +++ b/compose.c @@ -17,6 +17,10 @@ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA. */ +#if HAVE_CONFIG_H +# include "config.h" +#endif + #include "mutt.h" #include "mutt_curses.h" #include "mutt_idna.h" @@ -61,6 +65,9 @@ enum HDR_REPLYTO, HDR_FCC, +#ifdef MIXMASTER + HDR_MIX, +#endif HDR_CRYPT, HDR_CRYPTINFO, @@ -71,7 +78,11 @@ enum HDR_XCOMMENTTO, #endif +#ifndef USE_NNTP HDR_ATTACH = (HDR_FCC + 5) /* where to start printing the attachments */ +#else + HDR_ATTACH = (HDR_FCC + 7) +#endif }; #define HDR_XOFFSET 14 @@ -179,11 +190,11 @@ static void redraw_crypt_lines (HEADER *msg) clrtoeol (); if ((WithCrypto & APPLICATION_PGP) && msg->security & APPLICATION_PGP && msg->security & SIGN) - printw ("%s%s", _(" sign as: "), PgpSignAs ? PgpSignAs : _("")); + printw ("%s%s", _(" sign as: "), PgpSignAs ? PgpSignAs : _("")); if ((WithCrypto & APPLICATION_SMIME) && msg->security & APPLICATION_SMIME && msg->security & SIGN) { - printw ("%s%s", _(" sign as: "), SmimeDefaultKey ? SmimeDefaultKey : _("")); + printw ("%s%s", _(" sign as: "), SmimeDefaultKey ? SmimeDefaultKey : _("")); } if ((WithCrypto & APPLICATION_SMIME) @@ -205,7 +216,7 @@ static void redraw_mix_line (LIST *chain) int c; char *t; - mvaddstr (HDR_MIX, SidebarWidth, " Mix: "); + mvaddstr (HDR_MIX, SidebarWidth, " Mix: "); if (!chain) {