Fixed align macro and reply to e-mail in FTN echo

This commit is contained in:
Alexander S. Aganichev 2001-03-06 06:02:13 +00:00
parent 245e2e103d
commit 2ca369cc49
2 changed files with 10 additions and 2 deletions

View File

@ -347,6 +347,14 @@ char* TokenXlat(int mode, char* input, GMsg* msg, GMsg* oldmsg, int __origarea)
memset(dst, filler, size);
dst += size;
}
else {
if ((ptr[1] == '{') and (ptr[3] == '}'))
ptr += 3;
memmove(dst, ptr+1, strlen(ptr+1)+1);
}
}
else {
memmove(dst, ptr+1, strlen(ptr+1)+1);
}
continue;
}

View File

@ -253,10 +253,10 @@ void Area::SaveMsg(int mode, GMsg* msg) {
msg->attr.frq0();
}
if(isinternet()) { // Adjust fields for compatibility
if(isinternet() or isecho()) { // Adjust fields for compatibility
if(*msg->realby)
strcpy(msg->by, msg->realby);
if(*msg->realto)
if(*msg->realto and not isnet())
strcpy(msg->to, msg->realto);
}