From 5ec01eea08f2c903b449857463a545890f681558 Mon Sep 17 00:00:00 2001 From: piaip Date: Thu, 3 Jan 2008 15:11:17 +0000 Subject: - pfterm: fix TAB calculation git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3780 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- mbbsd/pfterm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- cgit v1.2.3