]> granicus.if.org Git - mutt/commitdiff
Fix a small bug in the new edit-message feature. From Andrej
authorThomas Roessler <roessler@does-not-exist.org>
Tue, 26 Oct 1999 13:54:19 +0000 (13:54 +0000)
committerThomas Roessler <roessler@does-not-exist.org>
Tue, 26 Oct 1999 13:54:19 +0000 (13:54 +0000)
Gritsenko.

editmsg.c

index ebe8ebc1ba0b146619fea997eb5a2d35b07fed99..4fd5e76741c11e825e8ed6db99031db1eec4a964 100644 (file)
--- a/editmsg.c
+++ b/editmsg.c
@@ -154,7 +154,10 @@ static int edit_one_message (CONTEXT *ctx, HEADER *cur)
   }
 
   if ((rc = mutt_copy_hdr (fp, msg->fp, 0, sb.st_size, CH_NOSTATUS | CH_NOLEN | cf, NULL)) == 0)
+  {
+    fputc ('\n', msg->fp);
     rc = mutt_copy_stream (fp, msg->fp);
+  }
 
   rc = mx_commit_message (msg, &tmpctx);
   mx_close_message (&msg);