From c5a04ec3745a1a053d37edf751c34d83ede8ab4c Mon Sep 17 00:00:00 2001 From: victor Date: Tue, 22 Nov 2005 11:06:20 +0000 Subject: pass through directly if there's no board note git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3248 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- mbbsd/bbs.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'mbbsd') diff --git a/mbbsd/bbs.c b/mbbsd/bbs.c index a8badf0a..c0105081 100644 --- a/mbbsd/bbs.c +++ b/mbbsd/bbs.c @@ -3401,6 +3401,7 @@ Read(void) int mode0 = currutmp->mode; int stat0 = currstat, tmpbid = currutmp->brc_id; char buf[PATHLEN]; + int tmp; #ifdef LOG_BOARD time4_t usetime = now; #endif @@ -3412,7 +3413,10 @@ Read(void) set_board(); setbfile(buf, currboard, fn_notes); - if (more(buf, NA) != READ_NEXT) + tmp = more(buf, NA); + if (tmp < 0) + /* do nothing */; + else if (tmp != READ_NEXT) pressanykey(); setutmpbid(currbid); -- cgit v1.2.3