more messing with word wrap

This commit is contained in:
Andrew Pamment 2018-05-25 22:42:35 +10:00
parent 0ebdbe71b4
commit 1ec2bc02bd

View File

@ -791,7 +791,11 @@ static char *www_wordwrap(char *content, int cutoff) {
if (at > 0 && content[at-1] != '\r' && content[at-1] != ' ' && cutoff - line_count < z) {
content[at++] = ' ';
line_count++;
}
} else {
content[at++] = '\r';
line_count = 0;
quote_line = 0;
}
} else if (quote_line == 1) {
content[at++] = '\r';
line_count = 0;