Another little fix for quoting

This commit is contained in:
Andrew Pamment 2016-08-20 21:23:42 +10:00
parent a3d3ea770a
commit c9885c1485
2 changed files with 2 additions and 2 deletions

View File

@ -431,7 +431,7 @@ char *www_email_display(struct user_record *user, int email) {
if (body[i] == '\r' || chars == 78) { if (body[i] == '\r' || chars == 78) {
sprintf(buffer, "\n> "); sprintf(buffer, "\n> ");
if (chars == 78) { if (chars == 78) {
sprintf(buffer, "%c", body[i]); sprintf(buffer, "\n> %c", body[i]);
chars = 1; chars = 1;
} }
} else { } else {

View File

@ -515,7 +515,7 @@ char *www_msgs_messageview(struct user_record *user, int conference, int area, i
if (body[i] == '\r' || chars == 78) { if (body[i] == '\r' || chars == 78) {
sprintf(buffer, "\n> "); sprintf(buffer, "\n> ");
if (chars == 78) { if (chars == 78) {
sprintf(buffer, "%c", body[i]); sprintf(buffer, "\n> %c", body[i]);
chars = 1; chars = 1;
} }
} else { } else {