]> granicus.if.org Git - mutt/commitdiff
Use Visual, not Editor, for editing messages. Noted by Marius
authorThomas Roessler <roessler@does-not-exist.org>
Sun, 16 Jan 2000 13:44:53 +0000 (13:44 +0000)
committerThomas Roessler <roessler@does-not-exist.org>
Sun, 16 Jan 2000 13:44:53 +0000 (13:44 +0000)
Gedminas <mgedmin@pub.osf.lt>.

editmsg.c

index 7a8c8bc3f9c8a7d31428d2800cc7259d6bd3cdf5..61ceadaa5c0ea40a774c37a7a29e5b083045ad59 100644 (file)
--- a/editmsg.c
+++ b/editmsg.c
@@ -88,7 +88,7 @@ static int edit_one_message (CONTEXT *ctx, HEADER *cur)
   if (stat (tmp, &sb) == 0)
     mtime = sb.st_mtime;
 
-  mutt_edit_file (Editor, tmp);
+  mutt_edit_file (NONULL (Visual), tmp);
 
   if ((rc = stat (tmp, &sb)) == -1)
   {