summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2008-01-03 23:11:17 +0800
committerpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2008-01-03 23:11:17 +0800
commit5ec01eea08f2c903b449857463a545890f681558 (patch)
tree694676cd1c49d42a35482900363fc8b7d8ecdc85
parent8f9dc9a65dc9b09b96c81b86156a067d1e1ea6ba (diff)
downloadpttbbs-5ec01eea08f2c903b449857463a545890f681558.tar
pttbbs-5ec01eea08f2c903b449857463a545890f681558.tar.gz
pttbbs-5ec01eea08f2c903b449857463a545890f681558.tar.bz2
pttbbs-5ec01eea08f2c903b449857463a545890f681558.tar.lz
pttbbs-5ec01eea08f2c903b449857463a545890f681558.tar.xz
pttbbs-5ec01eea08f2c903b449857463a545890f681558.tar.zst
pttbbs-5ec01eea08f2c903b449857463a545890f681558.zip
- pfterm: fix TAB calculation
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3780 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r--mbbsd/pfterm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mbbsd/pfterm.c b/mbbsd/pfterm.c
index d727467d..d82a22ef 100644
--- a/mbbsd/pfterm.c
+++ b/mbbsd/pfterm.c
@@ -1055,7 +1055,7 @@ outc(unsigned char c)
x += 8;
else
x += (8-(x%8));
- x = ranged(x, 0, ft.rows-1);
+ x = ranged(x, 0, ft.cols-1);
// erase the characters between
if (x > ft.x)
{