summaryrefslogtreecommitdiffstats
path: root/mbbsd/mail.c
diff options
context:
space:
mode:
Diffstat (limited to 'mbbsd/mail.c')
-rw-r--r--mbbsd/mail.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/mbbsd/mail.c b/mbbsd/mail.c
index e01a0b68..04aefeb6 100644
--- a/mbbsd/mail.c
+++ b/mbbsd/mail.c
@@ -1105,6 +1105,7 @@ mail_reply(int ent, fileheader_t * fhdr, const char *direct)
char *t;
FILE *fp;
char genbuf[512];
+ int oent = ent;
stand_title("¦^ «H");
@@ -1156,7 +1157,7 @@ mail_reply(int ent, fileheader_t * fhdr, const char *direct)
!(fhdr->filemode & FILE_REPLIED))
{
fhdr->filemode |= FILE_REPLIED;
- substitute_ref_record(direct, fhdr, ent);
+ substitute_ref_record(direct, fhdr, oent);
}
break;
}