diff options
Diffstat (limited to 'mbbsd')
-rw-r--r-- | mbbsd/bbs.c | 2 | ||||
-rw-r--r-- | mbbsd/board.c | 2 | ||||
-rw-r--r-- | mbbsd/read.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/mbbsd/bbs.c b/mbbsd/bbs.c index 8798cdb6..fdc9e6a6 100644 --- a/mbbsd/bbs.c +++ b/mbbsd/bbs.c @@ -1144,7 +1144,7 @@ cross_post(int ent, const fileheader_t * fhdr, const char *direct) static int read_post(int ent, fileheader_t * fhdr, const char *direct) { - char genbuf[200]; + char genbuf[100]; int more_result; if (fhdr->owner[0] == '-') diff --git a/mbbsd/board.c b/mbbsd/board.c index c81411a8..44f1e45f 100644 --- a/mbbsd/board.c +++ b/mbbsd/board.c @@ -1004,7 +1004,7 @@ choose_board(int newflag) break; case 'Z': if (HAS_PERM(PERM_LOGINOK)) { - char genbuf[256]; + char genbuf[64]; sprintf(genbuf, "確定要 %s訂閱\ 新看板? [N/y] ", cuser.uflag2 & FAVNEW_FLAG ? "取消" : ""); if (getans(genbuf) != 'y') break; diff --git a/mbbsd/read.c b/mbbsd/read.c index 29b1c79f..0d21d85d 100644 --- a/mbbsd/read.c +++ b/mbbsd/read.c @@ -521,7 +521,7 @@ i_read_key(const onekey_t * rcmdlist, keeploc_t * locmem, case 'e': case KEY_LEFT: if(currmode & MODE_SELECT){ - char genbuf[256]; + char genbuf[64]; fileheader_t *fhdr = &headers[locmem->crs_ln - locmem->top_ln]; board_select(); setbdir(genbuf, currboard); |