summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorscw <scw@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-04-11 18:16:28 +0800
committerscw <scw@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-04-11 18:16:28 +0800
commit66bd6314a8b12469b79e238aafe68d399cab443f (patch)
treee5919fe356e7ef089553c745d75a3635203a5ecc
parentfb11341539e36c7b3d4f7b49b5eef61fb8957ed1 (diff)
downloadpttbbs-66bd6314a8b12469b79e238aafe68d399cab443f.tar
pttbbs-66bd6314a8b12469b79e238aafe68d399cab443f.tar.gz
pttbbs-66bd6314a8b12469b79e238aafe68d399cab443f.tar.bz2
pttbbs-66bd6314a8b12469b79e238aafe68d399cab443f.tar.lz
pttbbs-66bd6314a8b12469b79e238aafe68d399cab443f.tar.xz
pttbbs-66bd6314a8b12469b79e238aafe68d399cab443f.tar.zst
pttbbs-66bd6314a8b12469b79e238aafe68d399cab443f.zip
FULLUPDATE when abort selecting board.
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1738 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r--mbbsd/bbs.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/mbbsd/bbs.c b/mbbsd/bbs.c
index 66465724..78d517ca 100644
--- a/mbbsd/bbs.c
+++ b/mbbsd/bbs.c
@@ -321,10 +321,10 @@ do_select(int ent, fileheader_t * fhdr, char *direct)
completeboard_permission,
completeboard_getname);
if (bname[0] == '\0' || !(i = getbnum(bname)))
- return TITLE_REDRAW;
+ return FULLUPDATE;
bh = getbcache(i);
if (!HasPerm(bh))
- return TITLE_REDRAW;
+ return FULLUPDATE;
strlcpy(bname, bh->brdname, sizeof(bname));
brc_update();
currbid = i;
@@ -334,7 +334,7 @@ do_select(int ent, fileheader_t * fhdr, char *direct)
move(2, 0);
clrtoeol();
outs(err_bid);
- return TITLE_REDRAW;
+ return FULLUPDATE;
}
setutmpbid(currbid);