Lua improvements:
[apps/madmutt.git] / send.c
diff --git a/send.c b/send.c
index acb01af..2143f19 100644 (file)
--- a/send.c
+++ b/send.c
@@ -1291,7 +1291,7 @@ int ci_send_message (int flags, /* send mode */
       process_user_header (msg->env);
 
 
-    if (option (OPTSIGONTOP) && (!(flags & SENDKEY) && Editor))
+    if (option (OPTSIGONTOP) && (!(flags & SENDKEY)))
       append_signature (tempfp);
 
     /* include replies/forwarded messages, unless we are given a template */
@@ -1299,7 +1299,7 @@ int ci_send_message (int flags, /* send mode */
         && generate_body (tempfp, msg, flags, ctx, cur) == -1)
       goto cleanup;
 
-    if (!option (OPTSIGONTOP) && (!(flags & SENDKEY) && Editor))
+    if (!option (OPTSIGONTOP) && (!(flags & SENDKEY)))
       append_signature (tempfp);
 
     /* 
@@ -1405,12 +1405,11 @@ int ci_send_message (int flags, /* send mode */
           goto cleanup;
       } else if (option (OPTEDITHDRS)) {
         mutt_env_to_local (msg->env);
-        mutt_edit_headers (Editor, msg->content->filename, msg, fcc,
-                           sizeof (fcc));
+        mutt_edit_headers(msg->content->filename, msg, fcc, sizeof (fcc));
         mutt_env_to_idna (msg->env, NULL, NULL);
       }
       else {
-        mutt_edit_file (Editor, msg->content->filename);
+        mutt_edit_file(msg->content->filename);
 
         if (stat (msg->content->filename, &st) == 0) {
           if (mtime != st.st_mtime)