move intl.h into lib-lib/macros.h
[apps/madmutt.git] / query.c
diff --git a/query.c b/query.c
index ba3a5a4..f7a7894 100644 (file)
--- a/query.c
+++ b/query.c
@@ -12,6 +12,7 @@
 #endif
 
 #include <lib-lib/mem.h>
+#include <lib-lib/macros.h>
 
 #include "mutt.h"
 #include "mutt_menu.h"
@@ -19,8 +20,6 @@
 #include "mapping.h"
 #include "sort.h"
 
-#include "lib/mem.h"
-#include "lib/intl.h"
 #include "lib/str.h"
 #include "lib/debug.h"
 
@@ -355,7 +354,7 @@ static void query_menu (char *buf, size_t buflen, QUERY * results, int retbuf)
               int clear = 0;
 
               /* append */
-              mem_realloc (&QueryTable, menu->max * sizeof (ENTRY));
+              p_realloc(&QueryTable, menu->max);
 
               menu->data = QueryTable;