guess what? another fix
This commit is contained in:
parent
c9885c1485
commit
d9793ab37d
@ -428,12 +428,12 @@ char *www_email_display(struct user_record *user, int email) {
|
||||
chars = 0;
|
||||
|
||||
for (i=0;i<strlen(body);i++) {
|
||||
if (body[i] == '\r' || chars == 78) {
|
||||
if (body[i] == '\r') {
|
||||
sprintf(buffer, "\n> ");
|
||||
if (chars == 78) {
|
||||
chars = 0;
|
||||
} else if (chars == 78) {
|
||||
sprintf(buffer, "\n> %c", body[i]);
|
||||
chars = 1;
|
||||
}
|
||||
} else {
|
||||
sprintf(buffer, "%c", body[i]);
|
||||
chars ++;
|
||||
|
@ -512,12 +512,12 @@ char *www_msgs_messageview(struct user_record *user, int conference, int area, i
|
||||
chars = 0;
|
||||
|
||||
for (i=0;i<strlen(body);i++) {
|
||||
if (body[i] == '\r' || chars == 78) {
|
||||
if (body[i] == '\r') {
|
||||
sprintf(buffer, "\n> ");
|
||||
if (chars == 78) {
|
||||
chars = 0;
|
||||
} else if (chars == 78) {
|
||||
sprintf(buffer, "\n> %c", body[i]);
|
||||
chars = 1;
|
||||
}
|
||||
} else {
|
||||
sprintf(buffer, "%c", body[i]);
|
||||
chars ++;
|
||||
|
Reference in New Issue
Block a user