]> granicus.if.org Git - mutt/commitdiff
When forwarding a mail (nomime_forw) and you have forw_quote set,
authorThomas Roessler <roessler@does-not-exist.org>
Wed, 30 Sep 1998 06:05:57 +0000 (06:05 +0000)
committerThomas Roessler <roessler@does-not-exist.org>
Wed, 30 Sep 1998 06:05:57 +0000 (06:05 +0000)
mutt inserts a blank line between header and body of the forwarded
message.

copy.c

diff --git a/copy.c b/copy.c
index 9280c4b3891489af570fdf0a89bf3162cec21c4e..27732c5d9bebf39ec991f57a596039dd904439a7 100644 (file)
--- 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);
   }