going to get it eventually.... maybe.

This commit is contained in:
Andrew Pamment 2018-02-28 09:40:07 +10:00
parent aa68a8f8f6
commit 893931e01c

View File

@ -730,16 +730,10 @@ static char *www_wordwrap(char *content, int cutoff) {
content[at++] = '\r';
line_count = 0;
quote_line = 0;
} else {
} else if (quote_line != 1) {
if (at > 0 && content[at-1] != '\r' && content[at-1] != ' ') {
if (quote_line != 1) {
content[at++] = ' ';
line_count++;
} else {
content[at++] = '\r';
line_count = 0;
quote_line = 0;
}
content[at++] = ' ';
line_count++;
}
}
} else if (content[i] == '\r' && content[i+1] == '\r') {