summaryrefslogtreecommitdiffstats
path: root/attach.c
diff options
context:
space:
mode:
Diffstat (limited to 'attach.c')
-rw-r--r--attach.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/attach.c b/attach.c
index 5921ddf2..da5a3cc6 100644
--- a/attach.c
+++ b/attach.c
@@ -264,8 +264,7 @@ int mutt_edit_attachment (BODY *a)
else if (a->type == TYPETEXT)
{
/* On text, default to editor */
- mutt_edit_file ((!Editor || mutt_strcmp ("builtin", Editor) == 0) ?
- NONULL(Visual) : NONULL(Editor), newfile);
+ mutt_edit_file (NONULL (Editor), newfile);
}
else
{