fix mistake in wordwrap
This commit is contained in:
parent
2a0ef93fb2
commit
77303fc475
@ -724,7 +724,7 @@ static char *www_wordwrap(char *content, int cutoff) {
|
||||
if (content[i+1] == ' ') {
|
||||
content[at++] = '\r';
|
||||
} else {
|
||||
if (content[at-1] != '\r') {
|
||||
if (at > 0 && content[at-1] != '\r') {
|
||||
content[at++] = ' ';
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user