From 577baad7c4800892551535cbdc1d885bcf80b054 Mon Sep 17 00:00:00 2001 From: piaip Date: Wed, 8 Jul 2009 14:58:22 +0000 Subject: * fix offset-by-one error in single input mode git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4728 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- mbbsd/announce.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mbbsd/announce.c b/mbbsd/announce.c index f33ba474..8298f158 100644 --- a/mbbsd/announce.c +++ b/mbbsd/announce.c @@ -1285,7 +1285,7 @@ a_menu_rec(const char *maintitle, const char *path, int n = a_multi_search_num(isascii(ch) && isdigit(ch) ? ch : '\0', sess); me.page = A_INVALID_PAGE; if (n > 0) - me.now = n; + me.now = n-1; else if (n < 0) vmsg("¿é¤J¿ù»~¡C"); else if (sess->z_indexes[0]) -- cgit v1.2.3