summaryrefslogtreecommitdiffstats
path: root/mbbsd/talk.c
diff options
context:
space:
mode:
Diffstat (limited to 'mbbsd/talk.c')
-rw-r--r--mbbsd/talk.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/mbbsd/talk.c b/mbbsd/talk.c
index 122bf6ea..7c19c5de 100644
--- a/mbbsd/talk.c
+++ b/mbbsd/talk.c
@@ -1513,8 +1513,11 @@ do_talk(int fd)
fclose(flog);
redrawwin();
more(fpath, NA);
- getdata(b_lines - 1, 0, "清除(C) 移至備忘錄(M). (C/M)?[C]",
- ans, sizeof(ans), LCECHO);
+ ans[0] = 0;
+ // force user decide how to deal with the log
+ while (ans[0] != 'c' && ans[0] != 'm')
+ getdata(b_lines - 1, 0, "清除(C) 移至備忘錄(M). (c/m)? ",
+ ans, sizeof(ans), LCECHO);
if (*ans == 'm') {
fileheader_t mymail;
char title[128];