summaryrefslogtreecommitdiffstats
path: root/editmsg.c
diff options
context:
space:
mode:
authorThomas Roessler <roessler@does-not-exist.org>1999-10-26 13:54:19 +0000
committerThomas Roessler <roessler@does-not-exist.org>1999-10-26 13:54:19 +0000
commite99ffeec20d74d2b7ff6ef41c3f28238f9b6baf3 (patch)
tree844da3c9ecf182ecbb79344c8b3517893a99ae0e /editmsg.c
parent584dea47be9645b08b47f6dbac2c528c75f5ce51 (diff)
Fix a small bug in the new edit-message feature. From Andrej
Gritsenko.
Diffstat (limited to 'editmsg.c')
-rw-r--r--editmsg.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/editmsg.c b/editmsg.c
index ebe8ebc1..4fd5e767 100644
--- 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);