oops
This commit is contained in:
parent
840f5c41aa
commit
46ac66dcd8
@ -729,7 +729,7 @@ static char *www_wordwrap(char *content, int cutoff) {
|
|||||||
// wrap
|
// wrap
|
||||||
if (last_space != NULL) {
|
if (last_space != NULL) {
|
||||||
*last_space = '\r';
|
*last_space = '\r';
|
||||||
line_count = strlen(&last_space);
|
line_count = strlen(&last_space[1]);
|
||||||
last_space = NULL;
|
last_space = NULL;
|
||||||
} else {
|
} else {
|
||||||
ret = (char *)realloc(ret, strlen(content) + 2);
|
ret = (char *)realloc(ret, strlen(content) + 2);
|
||||||
|
Reference in New Issue
Block a user