summaryrefslogtreecommitdiffstats
path: root/mbbsd
diff options
context:
space:
mode:
authorwens <wens@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2006-07-30 19:29:43 +0800
committerwens <wens@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2006-07-30 19:29:43 +0800
commit438e007143ef2d494912613d09998aaa0b28fdc5 (patch)
tree7e9c849440f2c528e4edfd12efc9e9c7f06f4881 /mbbsd
parentbd410b4d424ca5a9524826505f1ffa151ed297df (diff)
downloadpttbbs-438e007143ef2d494912613d09998aaa0b28fdc5.tar
pttbbs-438e007143ef2d494912613d09998aaa0b28fdc5.tar.gz
pttbbs-438e007143ef2d494912613d09998aaa0b28fdc5.tar.bz2
pttbbs-438e007143ef2d494912613d09998aaa0b28fdc5.tar.lz
pttbbs-438e007143ef2d494912613d09998aaa0b28fdc5.tar.xz
pttbbs-438e007143ef2d494912613d09998aaa0b28fdc5.tar.zst
pttbbs-438e007143ef2d494912613d09998aaa0b28fdc5.zip
yes the code is right.
automargin mean terminal will autowrap, so we don't have to do it git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3394 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd')
-rw-r--r--mbbsd/screen.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/mbbsd/screen.c b/mbbsd/screen.c
index 1aa10f6b..ee3f44f8 100644
--- a/mbbsd/screen.c
+++ b/mbbsd/screen.c
@@ -120,7 +120,6 @@ redoscr(void)
output((char *)bp->data, len);
tc_col += len;
if (tc_col >= t_columns) {
- /* XXX Is this code right? */
if (automargins)
tc_col = t_columns - 1;
else {
@@ -210,7 +209,6 @@ refresh(void)
output((char *)&bp->data[bp->smod], bp->emod - bp->smod + 1);
tc_col = bp->emod + 1;
if (tc_col >= t_columns) {
- /* XXX Is this code right? */
if (automargins)
tc_col = t_columns - 1;
else {