X-Git-Url: http://git.madism.org/?a=blobdiff_plain;f=compose.c;h=2e96e7da0bbec0e59d06f33f5ea364381b3806cb;hb=7d6add87dcf687d93906c297d335029effbed909;hp=538d5ad5d72c3cee7f8c66e223643b494467e5eb;hpb=dbb9a1e16d03a2d4664d6dc6a30c721b889d4982;p=apps%2Fmadmutt.git diff --git a/compose.c b/compose.c index 538d5ad..2e96e7d 100644 --- a/compose.c +++ b/compose.c @@ -15,20 +15,29 @@ # include "config.h" #endif +#include +#include +#include +#include +#include +#include + #include #include #include #include #include +#include + #include #include +#include +#include #include "mutt.h" -#include "enter.h" #include "mutt_idna.h" -#include "mutt_menu.h" #include "rfc1524.h" #include "attach.h" #include "recvattach.h" @@ -46,14 +55,6 @@ #include "nntp.h" #endif - -#include -#include -#include -#include -#include -#include - static const char *There_are_no_attachments = N_("There are no attachments."); #define CHECK_COUNT if (idxlen == 0) { mutt_error _(There_are_no_attachments); break; } @@ -197,7 +198,7 @@ static void redraw_crypt_lines (HEADER * msg) #ifdef MIXMASTER -static void redraw_mix_line (LIST * chain) +static void redraw_mix_line (string_list_t * chain) { int c; const char *t; @@ -317,7 +318,7 @@ static int edit_address_list (int line, address_t ** addr) mutt_addrlist_to_local (*addr); rfc822_write_address (buf, sizeof (buf), *addr, 0); if (mutt_get_field (Prompts[line - 1], buf, sizeof (buf), M_ALIAS) == 0) { - address_delete (addr); + address_list_wipe(addr); *addr = mutt_parse_adrlist (*addr, buf); *addr = mutt_expand_aliases (*addr); }