summaryrefslogtreecommitdiffstats
path: root/mbbsd
diff options
context:
space:
mode:
authorvictor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2005-11-22 19:06:20 +0800
committervictor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2005-11-22 19:06:20 +0800
commitc5a04ec3745a1a053d37edf751c34d83ede8ab4c (patch)
tree1214cab36214a6e79dd8db295f853a4df70726f4 /mbbsd
parentfb6985bd6efb1e30060f475c339e08e27becf323 (diff)
downloadpttbbs-c5a04ec3745a1a053d37edf751c34d83ede8ab4c.tar
pttbbs-c5a04ec3745a1a053d37edf751c34d83ede8ab4c.tar.gz
pttbbs-c5a04ec3745a1a053d37edf751c34d83ede8ab4c.tar.bz2
pttbbs-c5a04ec3745a1a053d37edf751c34d83ede8ab4c.tar.lz
pttbbs-c5a04ec3745a1a053d37edf751c34d83ede8ab4c.tar.xz
pttbbs-c5a04ec3745a1a053d37edf751c34d83ede8ab4c.tar.zst
pttbbs-c5a04ec3745a1a053d37edf751c34d83ede8ab4c.zip
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
Diffstat (limited to 'mbbsd')
-rw-r--r--mbbsd/bbs.c6
1 files changed, 5 insertions, 1 deletions
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);