From 2abf5d64b3440bb12698264c1a7ac1dfdb97706f Mon Sep 17 00:00:00 2001 From: Michael Elkins Date: Wed, 24 Jul 2002 08:40:06 +0000 Subject: Fix $editor and $visual. Based on an earlier patch from Edmund Grimley Evans. --- attach.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'attach.c') 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 { -- cgit v1.2.3