diff options
author | kcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2002-07-27 21:14:41 +0800 |
---|---|---|
committer | kcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2002-07-27 21:14:41 +0800 |
commit | e1fce65ed8fed7029b853401c3aa207ac5a6f2bd (patch) | |
tree | 7839a7c15453888842087b6a4b507bcfb2e61989 /mbbsd/bbs.c | |
parent | 0c030c68c8459402fa279fa60f247eb7cb0aef75 (diff) | |
download | pttbbs-e1fce65ed8fed7029b853401c3aa207ac5a6f2bd.tar pttbbs-e1fce65ed8fed7029b853401c3aa207ac5a6f2bd.tar.gz pttbbs-e1fce65ed8fed7029b853401c3aa207ac5a6f2bd.tar.bz2 pttbbs-e1fce65ed8fed7029b853401c3aa207ac5a6f2bd.tar.lz pttbbs-e1fce65ed8fed7029b853401c3aa207ac5a6f2bd.tar.xz pttbbs-e1fce65ed8fed7029b853401c3aa207ac5a6f2bd.tar.zst pttbbs-e1fce65ed8fed7029b853401c3aa207ac5a6f2bd.zip |
more specific `currstat' mode
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@447 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/bbs.c')
-rw-r--r-- | mbbsd/bbs.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mbbsd/bbs.c b/mbbsd/bbs.c index 84749b1c..c6615a0c 100644 --- a/mbbsd/bbs.c +++ b/mbbsd/bbs.c @@ -1,4 +1,4 @@ -/* $Id: bbs.c,v 1.66 2002/07/22 19:02:00 in2 Exp $ */ +/* $Id: bbs.c,v 1.67 2002/07/27 13:14:41 kcwu Exp $ */ #include "bbs.h" static void @@ -261,6 +261,7 @@ do_select(int ent, fileheader_t * fhdr, char *direct) struct stat st; int i; + setutmpmode(SELECT); move(0, 0); clrtoeol(); generalnamecomplete(MSG_SELECT_BOARD, bname, sizeof(bname), @@ -1997,7 +1998,7 @@ ReadSelect() int stat0 = currstat; char genbuf[200]; - currstat = XMODE; + currstat = SELECT; if (do_select(0, 0, genbuf) == NEWDIRECT) Read(); setutmpbid(0); @@ -2024,7 +2025,6 @@ Select() { char genbuf[200]; - setutmpmode(SELECT); do_select(0, NULL, genbuf); return 0; } |