summaryrefslogtreecommitdiffstats
path: root/copy.c
diff options
context:
space:
mode:
authorThomas Roessler <roessler@does-not-exist.org>1998-09-30 06:05:57 +0000
committerThomas Roessler <roessler@does-not-exist.org>1998-09-30 06:05:57 +0000
commit1ab7cfa9d120ff4207297c47f860a0838e926c91 (patch)
tree88b9b87d21b847d2d606080ea5cc0d3ee7547e07 /copy.c
parent2036d31ccdb447fe9e68bf36e97485f8d7230091 (diff)
When forwarding a mail (nomime_forw) and you have forw_quote set,
mutt inserts a blank line between header and body of the forwarded message.
Diffstat (limited to 'copy.c')
-rw-r--r--copy.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/copy.c b/copy.c
index 9280c4b3..27732c5d 100644
--- a/copy.c
+++ b/copy.c
@@ -349,6 +349,8 @@ mutt_copy_header (FILE *in, HEADER *h, FILE *out, int flags, const char *prefix)
if ((flags & CH_NONEWLINE) == 0)
{
+ if (flags & CH_PREFIX)
+ fputs(prefix, out);
if (fputc ('\n', out) == EOF) /* add header terminator */
return (-1);
}