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