]> granicus.if.org Git - mutt/commitdiff
Don't copy the Status header to the user's edit buffer - we destroy
authorThomas Roessler <roessler@does-not-exist.org>
Thu, 2 Sep 1999 18:50:46 +0000 (18:50 +0000)
committerThomas Roessler <roessler@does-not-exist.org>
Thu, 2 Sep 1999 18:50:46 +0000 (18:50 +0000)
it later when copying the message back.

editmsg.c

index 3696560f238f1f4e190befca7f0379f6b3dfd7ef..ebe8ebc1ba0b146619fea997eb5a2d35b07fed99 100644 (file)
--- a/editmsg.c
+++ b/editmsg.c
@@ -75,7 +75,7 @@ static int edit_one_message (CONTEXT *ctx, HEADER *cur)
     return -1;
   }
 
-  rc = mutt_append_message (&tmpctx, ctx, cur, 0, CH_NOLEN); oerrno = errno;
+  rc = mutt_append_message (&tmpctx, ctx, cur, 0, CH_NOLEN | CH_NOSTATUS); oerrno = errno;
 
   mx_close_mailbox (&tmpctx);