diff options
author | victor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2003-11-08 16:43:27 +0800 |
---|---|---|
committer | victor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2003-11-08 16:43:27 +0800 |
commit | f112673ca9e967876c6048798e8ff4a96729c346 (patch) | |
tree | d5c851e3a2672c40fe1d7b7ca2c93ab025aa964a | |
parent | f52516b1d4d2ca5fece3a88941dedbabc19036df (diff) | |
download | pttbbs-f112673ca9e967876c6048798e8ff4a96729c346.tar pttbbs-f112673ca9e967876c6048798e8ff4a96729c346.tar.gz pttbbs-f112673ca9e967876c6048798e8ff4a96729c346.tar.bz2 pttbbs-f112673ca9e967876c6048798e8ff4a96729c346.tar.lz pttbbs-f112673ca9e967876c6048798e8ff4a96729c346.tar.xz pttbbs-f112673ca9e967876c6048798e8ff4a96729c346.tar.zst pttbbs-f112673ca9e967876c6048798e8ff4a96729c346.zip |
enlarge the input buffer of del_range
git-svn-id: http://opensvn.csie.org/pttbbs/trunk@1308 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r-- | pttbbs/mbbsd/bbs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pttbbs/mbbsd/bbs.c b/pttbbs/mbbsd/bbs.c index 42c3b0ac..e63a4120 100644 --- a/pttbbs/mbbsd/bbs.c +++ b/pttbbs/mbbsd/bbs.c @@ -1649,7 +1649,7 @@ del_range(int ent, fileheader_t * fhdr, char *direct) if (strcmp(bp->brdname, "Security") == 0) return DONOTHING; if ((currstat != READING) || (currmode & MODE_BOARD)) { - getdata(1, 0, "[設定刪除範圍] 起點:", num1, 5, DOECHO); + getdata(1, 0, "[設定刪除範圍] 起點:", num1, 6, DOECHO); inum1 = atoi(num1); if (inum1 <= 0) { outmsg("起點有誤"); @@ -1657,7 +1657,7 @@ del_range(int ent, fileheader_t * fhdr, char *direct) /* safe_sleep(1); */ return FULLUPDATE; } - getdata(1, 28, "終點:", num2, 5, DOECHO); + getdata(1, 28, "終點:", num2, 6, DOECHO); inum2 = atoi(num2); if (inum2 < inum1) { outmsg("終點有誤"); |