maybe this time?
This commit is contained in:
parent
1ec2bc02bd
commit
ce888d9ad1
@ -788,7 +788,7 @@ static char *www_wordwrap(char *content, int cutoff) {
|
||||
quote_line = 0;
|
||||
} else if (quote_line != 1) {
|
||||
for (z = i+1;content[z] != ' ' && z < len;z++);
|
||||
if (at > 0 && content[at-1] != '\r' && content[at-1] != ' ' && cutoff - line_count < z) {
|
||||
if (at > 0 && content[at-1] != '\r' && content[at-1] != ' ' && cutoff - line_count < z - i) {
|
||||
content[at++] = ' ';
|
||||
line_count++;
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user