diff options
-rw-r--r-- | mbbsd/vote.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/mbbsd/vote.c b/mbbsd/vote.c index c465f063..22a22f58 100644 --- a/mbbsd/vote.c +++ b/mbbsd/vote.c @@ -908,7 +908,7 @@ user_vote_one(char *bname, int ind) chosen = (char *)malloc(item_num); memset(chosen, 0, item_num); memset(choices, 0, sizeof(choices)); - max_page = item_num / 30 + 1; + max_page = (item_num - 1)/ 30 + 1; prints("щ布よΑ絋﹚眤匡拒块ㄤ絏(A, B, C...)\n" "Ωщ布щ %1hd 布 0 щ布, 1 ЧΘщ布, > , < \n" @@ -923,7 +923,8 @@ user_vote_one(char *bname, int ind) if (redo) { int i, j; - clear(); + move(5, 0); + clrtobot(); /* 稱ぃよ猭 ぃ稱俱弄秈 memory * τ场だщ布ぃ穦禬筁 ┮眖郎 scan */ |