going to get it eventually.... maybe.
This commit is contained in:
parent
aa68a8f8f6
commit
893931e01c
@ -730,16 +730,10 @@ static char *www_wordwrap(char *content, int cutoff) {
|
|||||||
content[at++] = '\r';
|
content[at++] = '\r';
|
||||||
line_count = 0;
|
line_count = 0;
|
||||||
quote_line = 0;
|
quote_line = 0;
|
||||||
} else {
|
} else if (quote_line != 1) {
|
||||||
if (at > 0 && content[at-1] != '\r' && content[at-1] != ' ') {
|
if (at > 0 && content[at-1] != '\r' && content[at-1] != ' ') {
|
||||||
if (quote_line != 1) {
|
|
||||||
content[at++] = ' ';
|
content[at++] = ' ';
|
||||||
line_count++;
|
line_count++;
|
||||||
} else {
|
|
||||||
content[at++] = '\r';
|
|
||||||
line_count = 0;
|
|
||||||
quote_line = 0;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else if (content[i] == '\r' && content[i+1] == '\r') {
|
} else if (content[i] == '\r' && content[i+1] == '\r') {
|
||||||
|
Reference in New Issue
Block a user