diff options
author | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2009-05-15 09:49:44 +0800 |
---|---|---|
committer | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2009-05-15 09:49:44 +0800 |
commit | aeebad5422aaaf5a3c2d430dad11809d2200ae5f (patch) | |
tree | 85e4d54209ed05bdf20578a01ddf40855df1afb8 /mbbsd | |
parent | 30c10f367fd74c848fdda9a5d4cf2bddbfe75581 (diff) | |
download | pttbbs-aeebad5422aaaf5a3c2d430dad11809d2200ae5f.tar pttbbs-aeebad5422aaaf5a3c2d430dad11809d2200ae5f.tar.gz pttbbs-aeebad5422aaaf5a3c2d430dad11809d2200ae5f.tar.bz2 pttbbs-aeebad5422aaaf5a3c2d430dad11809d2200ae5f.tar.lz pttbbs-aeebad5422aaaf5a3c2d430dad11809d2200ae5f.tar.xz pttbbs-aeebad5422aaaf5a3c2d430dad11809d2200ae5f.tar.zst pttbbs-aeebad5422aaaf5a3c2d430dad11809d2200ae5f.zip |
prevent screen wrapping issue
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4451 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd')
-rw-r--r-- | mbbsd/bbs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mbbsd/bbs.c b/mbbsd/bbs.c index d4ba1ba8..d3ba2724 100644 --- a/mbbsd/bbs.c +++ b/mbbsd/bbs.c @@ -2974,7 +2974,7 @@ recommend(int ent, fileheader_t * fhdr, const char *direct) // make sure to do modification { - char ans[3]; + char ans[2]; sprintf(buf+strlen(buf), ANSI_REVERSE "%-*s" ANSI_RESET " ½T©w[y/N]:", maxlength, msg); if(!getdata(b_lines, 0, buf, ans, sizeof(ans), LCECHO) || |