summaryrefslogtreecommitdiffstats
path: root/attach.c
diff options
context:
space:
mode:
authorMichael Elkins <me@sigpipe.org>2002-07-24 08:40:06 +0000
committerMichael Elkins <me@sigpipe.org>2002-07-24 08:40:06 +0000
commit2abf5d64b3440bb12698264c1a7ac1dfdb97706f (patch)
treea6b6e2b576b489cccba03d51332ccc5e94363bde /attach.c
parentd2b73e6e95b761521e2942c30b5a43d1752f2838 (diff)
Fix $editor and $visual. Based on an earlier patch from Edmund
Grimley Evans.
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
{