summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-04-27 10:10:38 +0800
committerptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-04-27 10:10:38 +0800
commitf788131a8786a16da470d31f8e2f454d905dfc84 (patch)
tree980f4321b18c4324954c5ac1f3b7bda2eb42979b
parent09818c65b333c5cb4b2618ed2b8d718147ce89b5 (diff)
downloadpttbbs-f788131a8786a16da470d31f8e2f454d905dfc84.tar
pttbbs-f788131a8786a16da470d31f8e2f454d905dfc84.tar.gz
pttbbs-f788131a8786a16da470d31f8e2f454d905dfc84.tar.bz2
pttbbs-f788131a8786a16da470d31f8e2f454d905dfc84.tar.lz
pttbbs-f788131a8786a16da470d31f8e2f454d905dfc84.tar.xz
pttbbs-f788131a8786a16da470d31f8e2f454d905dfc84.tar.zst
pttbbs-f788131a8786a16da470d31f8e2f454d905dfc84.zip
bug fix of announce to suit new read
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1867 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r--mbbsd/announce.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mbbsd/announce.c b/mbbsd/announce.c
index 30fe76f3..4d44ff15 100644
--- a/mbbsd/announce.c
+++ b/mbbsd/announce.c
@@ -920,12 +920,12 @@ a_menu(char *maintitle, char *path, int lastlevel)
return FULLUPDATE;
}
}
- if (more_result == 1) {
+ if (more_result == READ_PREV) {
if (--me.now < 0) {
me.now = 0;
break;
}
- } else if (more_result == 3) {
+ } else if (more_result == READ_NEXT) {
if (++me.now >= me.num) {
me.now = me.num - 1;
break;