while ((c = fgetconv (fc)) != EOF)
{
- /* Escape lines that begin with/only contain "the message separator". */
- if (linelen == 4 && !mutt_strncmp ("From", line, 4))
- {
- 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] == '.')
- {
- strfcpy (line, "=2E", sizeof (line));
- linelen = 3;
- }
-
/* Wrap the line if needed. */
if (linelen == 76 && ((istext && c != '\n') || !istext))
{
}
}
+ /* Escape lines that begin with/only contain "the message separator". */
+ if (linelen == 4 && !mutt_strncmp ("From", line, 4))
+ {
+ 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] == '.')
+ {
+ strfcpy (line, "=2E", sizeof (line));
+ linelen = 3;
+ }
+
+
if (c == '\n' && istext)
{
/* Check to make sure there is no trailing space on this line. */