fiddle with word wrap

This commit is contained in:
Andrew Pamment 2018-02-28 09:26:24 +10:00
parent dd428487fa
commit da5b512c5f

View File

@ -726,7 +726,7 @@ static char *www_wordwrap(char *content, int cutoff) {
} }
if (content[i] == '\r' && content[i+1] != '\r') { if (content[i] == '\r' && content[i+1] != '\r') {
if (content[i+1] == ' ' || quote_line == 1) { if (content[i+1] == ' ' || quote_line != 1) {
content[at++] = '\r'; content[at++] = '\r';
line_count = 0; line_count = 0;
quote_line = 0; quote_line = 0;