Fix up line breaks

This commit is contained in:
Andrew Pamment 2018-06-24 11:16:59 +10:00
parent 44909f87ad
commit e5a07a3a25

View File

@ -133,7 +133,7 @@ int process_msgs_dat(char *msgsdat) {
char buffer[PATH_MAX];
struct QwkHeader qhdr;
int msgrecs;
unsigned char *msgbody;
char *msgbody;
char mbuf[129];
int i;
time_t msgdate;
@ -174,7 +174,7 @@ int process_msgs_dat(char *msgsdat) {
}
}
for (i = 0; i< strlen(msgbody); i++) {
for (i = 0; i < strlen(msgbody); i++) {
if (msgbody[i] == '\xe3') {
msgbody[i] = '\r';
}