From 438e007143ef2d494912613d09998aaa0b28fdc5 Mon Sep 17 00:00:00 2001 From: wens Date: Sun, 30 Jul 2006 11:29:43 +0000 Subject: 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 --- mbbsd/screen.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'mbbsd') 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 { -- cgit v1.2.3