Nico Golde:
[apps/madmutt.git] / headers.c
index f2ffa27..6134788 100644 (file)
--- a/headers.c
+++ b/headers.c
@@ -15,6 +15,8 @@
 #include "mutt_crypt.h"
 #include "mutt_idna.h"
 
+#include "lib/intl.h"
+
 #include <sys/stat.h>
 #include <string.h>
 #include <ctype.h>
@@ -141,7 +143,7 @@ void mutt_edit_headers (const char *editor,
       SKIPWS (p);
       if (*p) {
         if ((q = strpbrk (p, " \t"))) {
-          mutt_substrcpy (path, p, q, sizeof (path));
+          str_substrcpy (path, p, q, sizeof (path));
           SKIPWS (q);
         }
         else