X-Git-Url: http://git.madism.org/?a=blobdiff_plain;f=commands.c;h=0cfc226f8ddc64a31217f237cf9280149ea29e99;hb=ecaab35b973fbceb58b5ed174971c82762cc0199;hp=a6a92e8655f14eb13dabed7a84212ebff0f29520;hpb=617e7d83d14e14e6a520a48e75437211b16c8834;p=apps%2Fmadmutt.git diff --git a/commands.c b/commands.c index a6a92e8..0cfc226 100644 --- a/commands.c +++ b/commands.c @@ -14,10 +14,12 @@ #include +#include +#include + #include "mutt.h" #include "enter.h" #include "recvattach.h" -#include "ascii.h" #include "mutt_curses.h" #include "mutt_menu.h" #include "mime.h" @@ -40,8 +42,6 @@ #include "buffy.h" #endif -#include "lib/intl.h" -#include "lib/str.h" #include "lib/debug.h" #include @@ -859,7 +859,7 @@ void mutt_edit_content_type (HEADER * h, BODY * b, FILE * fp) size_t l; for (p = b->parameter; p; p = p->next) { - l = str_len (buf); + l = m_strlen(buf); rfc822_cat (tmp, sizeof (tmp), p->value, MimeSpecials); snprintf (buf + l, sizeof (buf) - l, "; %s=%s", p->attribute, tmp);