From: Pierre Habouzit Date: Thu, 30 Nov 2006 21:45:11 +0000 (+0100) Subject: cosmetics X-Git-Url: http://git.madism.org/?a=commitdiff_plain;h=d031b12a6bfef909d3f4170a7b5e438f4dd5f67e;p=apps%2Fmadmutt.git cosmetics Signed-off-by: Pierre Habouzit --- diff --git a/compose.c b/compose.c index 3de34a9..6e68f53 100644 --- a/compose.c +++ b/compose.c @@ -14,8 +14,8 @@ #include #include - #include +#include #include #include @@ -119,8 +119,6 @@ static void snd_entry (char *b, ssize_t blen, MUTTMENU * menu, int num) { M_FORMAT_STAT_FILE | M_FORMAT_ARROWCURSOR); } -#include - static void redraw_crypt_lines (HEADER * msg) { int off = 0; @@ -364,7 +362,7 @@ static void update_idx (MUTTMENU * menu, ATTACHPTR ** idx, short idxlen) * applied. * */ -static unsigned long cum_attachs_size (MUTTMENU * menu) +static unsigned long cum_attachs_size(MUTTMENU * menu) { ssize_t s; unsigned short i; @@ -692,9 +690,7 @@ int mutt_compose_menu (HEADER * msg, /* structure for new message */ menu->redraw = REDRAW_FULL; mutt_message_hook (NULL, msg, M_SEND2HOOK); - break; - - + break; case OP_COMPOSE_ATTACH_KEY: if (idxlen == idxmax) { @@ -719,8 +715,7 @@ int mutt_compose_menu (HEADER * msg, /* structure for new message */ } mutt_message_hook (NULL, msg, M_SEND2HOOK); - break; - + break; case OP_COMPOSE_ATTACH_FILE: { @@ -1278,8 +1273,6 @@ int mutt_compose_menu (HEADER * msg, /* structure for new message */ } break; - - case OP_COMPOSE_PGP_MENU: if (msg->security & APPLICATION_SMIME) { if (mutt_yesorno (_("S/MIME already selected. Clear & continue ? "), @@ -1294,12 +1287,10 @@ int mutt_compose_menu (HEADER * msg, /* structure for new message */ mutt_message_hook (NULL, msg, M_SEND2HOOK); break; - case OP_FORGET_PASSPHRASE: crypt_forget_passphrase (); break; - case OP_COMPOSE_SMIME_MENU: if (msg->security & APPLICATION_PGP) { if (mutt_yesorno (_("PGP already selected. Clear & continue ? "),