reindent and optimizations in BUFFER* struct.
[apps/madmutt.git] / handler.c
index 61efc4b..553ff29 100644 (file)
--- a/handler.c
+++ b/handler.c
 #include <sys/stat.h>
 
 #include <lib-lib/mem.h>
+#include <lib-lib/ascii.h>
 #include <lib-lib/str.h>
 #include <lib-lib/macros.h>
 
 #include "mutt.h"
-#include "ascii.h"
 #include "recvattach.h"
 #include "handler.h"
 #include "mutt_curses.h"
@@ -678,7 +678,7 @@ int text_enriched_handler (BODY * a, STATE * s)
   int tag_len = 0;
   char tag[LONG_STRING + 1];
 
-  memset (&stte, 0, sizeof (stte));
+  p_clear(&stte, 1);
   stte.s = s;
   stte.WrapMargin =
     ((s->flags & M_DISPLAY) ? (COLS - 4) : ((COLS - 4) <