while ((c = fgetconv (fc)) != EOF)
{
- /* Escape lines that begin with "the message separator". */
- if (linelen == 5 && !mutt_strncmp ("From ", line, 5))
+ /* Escape lines that begin with/only contain "the message separator". */
+ if (linelen == 4 && !mutt_strncmp ("From", line, 4))
{
- strfcpy (line, "=46rom ", sizeof (line));
- linelen = 7;
+ strfcpy (line, "=46rom", sizeof (line));
+ linelen = 6;
+ }
+ else if (linelen == 4 && !mutt_strncmp ("from", line, 4))
+ {
+ strfcpy (line, "=66rom", sizeof (line));
+ linelen = 6;
}
else if (linelen == 1 && line[0] == '.')
{