Use p_new instead of xmalloc()
[apps/madmutt.git] / flags.c
diff --git a/flags.c b/flags.c
index e00dc88..fc3c4b4 100644 (file)
--- a/flags.c
+++ b/flags.c
 #include <lib-ui/curses.h>
 #include <lib-ui/menu.h>
 #include <lib-ui/sidebar.h>
+#include <lib-mx/mx.h>
 
 #include "mutt.h"
 #include "sort.h"
-#include "mx.h"
 
 #include <imap/imap_private.h>
 
@@ -266,7 +266,7 @@ void _mutt_set_flag (CONTEXT * ctx, HEADER * h, int flag, int bf, int upd_ctx)
   if (h->searched && (changed != h->changed || deleted != ctx->deleted ||
                       tagged != ctx->tagged || flagged != ctx->flagged))
     h->searched = 0;
-  sidebar_draw (0);
+  sidebar_draw ();
 }
 
 void mutt_tag_set_flag (int flag, int bf)