From e99ffeec20d74d2b7ff6ef41c3f28238f9b6baf3 Mon Sep 17 00:00:00 2001 From: Thomas Roessler Date: Tue, 26 Oct 1999 13:54:19 +0000 Subject: Fix a small bug in the new edit-message feature. From Andrej Gritsenko. --- editmsg.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'editmsg.c') 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); -- cgit v1.2.3