From: Joel Reicher Date: Tue, 10 Apr 2007 06:13:27 +0000 (+0000) Subject: Fix for bug #11139: mhl -form mhl.reply omits '> ' on some lines. X-Git-Tag: nmh-1_3_RC1~22 X-Git-Url: http://git.marmaro.de/?a=commitdiff_plain;h=dd9275a85bb5e0e4bf3c0a722eb5945f1d421d74;p=mmh Fix for bug #11139: mhl -form mhl.reply omits '> ' on some lines. putcomp() was assuming only the first call on the body had the buffer beginning at the start of a line. --- diff --git a/uip/mhlsbr.c b/uip/mhlsbr.c index 04da52b..ce8b33d 100644 --- a/uip/mhlsbr.c +++ b/uip/mhlsbr.c @@ -1298,6 +1298,8 @@ putcomp (struct mcomp *c1, struct mcomp *c2, int flag) if (term == '\n') putstr ("\n"); } + if (flag == BODYCOMP && term == '\n') + c1->c_flags &= ~HDROUTPUT; /* Buffer ended on a newline */ }