Rocco Rutte:
[apps/madmutt.git] / attach.c
index 4e985c1..c32eb79 100644 (file)
--- a/attach.c
+++ b/attach.c
@@ -248,7 +248,7 @@ int mutt_edit_attachment (BODY * a)
   }
   else if (a->type == TYPETEXT) {
     /* On text, default to editor */
-    mutt_edit_file (NONULL (Editor), newfile);
+    mutt_edit_file (NONULL (Editor), a->filename);
   }
   else {
     rfc1524_free_entry (&entry);