X-Git-Url: http://git.madism.org/?a=blobdiff_plain;f=attach.c;h=c32eb79e6fde63d978dbe808cc959b677d6e9792;hb=e5f7fde48e226cefc14f3b3b2f1039d530c73ab1;hp=4e985c17ea0fe8a6fcc7b3e1031719ba7cd7237f;hpb=bbc4fd52516a8afefbd14c77e34f8389d6f0a6ed;p=apps%2Fmadmutt.git diff --git a/attach.c b/attach.c index 4e985c1..c32eb79 100644 --- 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);