diff options
Diffstat (limited to 'mbbsd')
-rw-r--r-- | mbbsd/bbs.c | 1 | ||||
-rw-r--r-- | mbbsd/read.c | 4 |
2 files changed, 5 insertions, 0 deletions
diff --git a/mbbsd/bbs.c b/mbbsd/bbs.c index 5de2d935..35c3b640 100644 --- a/mbbsd/bbs.c +++ b/mbbsd/bbs.c @@ -1997,6 +1997,7 @@ read_post(int ent, fileheader_t * fhdr, const char *direct) vmsg("此文章無內容"); return FULLUPDATE; case RET_DOREPLY: + case RET_DOREPLYALL: do_reply(fhdr); return FULLUPDATE; case RET_DORECOMMEND: diff --git a/mbbsd/read.c b/mbbsd/read.c index 694eee82..92b8a42b 100644 --- a/mbbsd/read.c +++ b/mbbsd/read.c @@ -1233,6 +1233,9 @@ i_read(int cmdmode, const char *direct, void (*dotitle) (), /* 依據 mode 顯示 fileheader */ setutmpmode(cmdmode); switch (mode) { + case DONOTHING: + break; + case NEWDIRECT: /* 第一次載入此目錄 */ case DIRCHANGED: if (bidcache > 0 && !(currmode & (MODE_SELECT | MODE_DIGEST))){ @@ -1261,6 +1264,7 @@ i_read(int cmdmode, const char *direct, void (*dotitle) (), recbase = -1; /* no break */ + default: // for any unknown keys case FULLUPDATE: (*dotitle) (); /* no break */ |