diff options
author | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2007-12-09 14:58:59 +0800 |
---|---|---|
committer | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2007-12-09 14:58:59 +0800 |
commit | 7d73f5651455c2500454c12546e39c684e33a3f4 (patch) | |
tree | 34687300442d0dd261d9d6686e5e5c56b26569f4 /mbbsd | |
parent | 44a74ee09abf228ac54fcd87fafc5a4d4c53c263 (diff) | |
download | pttbbs-7d73f5651455c2500454c12546e39c684e33a3f4.tar pttbbs-7d73f5651455c2500454c12546e39c684e33a3f4.tar.gz pttbbs-7d73f5651455c2500454c12546e39c684e33a3f4.tar.bz2 pttbbs-7d73f5651455c2500454c12546e39c684e33a3f4.tar.lz pttbbs-7d73f5651455c2500454c12546e39c684e33a3f4.tar.xz pttbbs-7d73f5651455c2500454c12546e39c684e33a3f4.tar.zst pttbbs-7d73f5651455c2500454c12546e39c684e33a3f4.zip |
- getdata: offset-by-one in input field with ANSI
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3659 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd')
-rw-r--r-- | mbbsd/io.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -884,7 +884,7 @@ oldgetdata(int line, int col, const char *prompt, char *buf, int len, int echo) standout(); for(i=0; i<=len; i++) { - if(i <= clen) + if(i < clen) outc(buf[i]); else outc(' '); |