initialize linecount
This commit is contained in:
parent
6588318091
commit
4b5b7a14a2
@ -697,7 +697,7 @@ char *www_msgs_messageview(struct user_record *user, int conference, int area, i
|
|||||||
static char *www_wordwrap(char *content, int cutoff) {
|
static char *www_wordwrap(char *content, int cutoff) {
|
||||||
int len = strlen(content);
|
int len = strlen(content);
|
||||||
int i;
|
int i;
|
||||||
int line_count;
|
int line_count = 0;
|
||||||
char *last_space = NULL;
|
char *last_space = NULL;
|
||||||
char *ret = (char *)malloc(len + 1);
|
char *ret = (char *)malloc(len + 1);
|
||||||
int at = 0;
|
int at = 0;
|
||||||
|
Reference in New Issue
Block a user