From b0976e9c84d34b63b90e9a5e4f9971338a78d39f Mon Sep 17 00:00:00 2001 From: piaip Date: Tue, 25 Dec 2007 09:11:40 +0000 Subject: -pfterm: reprint should compare "current attribute" instead of "old attribute". git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3742 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- mbbsd/pfterm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mbbsd') diff --git a/mbbsd/pfterm.c b/mbbsd/pfterm.c index 2e549599..b26e2291 100644 --- a/mbbsd/pfterm.c +++ b/mbbsd/pfterm.c @@ -768,11 +768,11 @@ refresh(void) // if same attribute, simply accept. if (FTAROW[i] == ft.rattr && touched) continue; - // XXX spaces may accept (BG=OBG), + // XXX spaces may accept (BG=rBG), // but that will also change cached attribute. if (!FTCHAR_ISBLANK(FTCROW[i])) break; - if (FTATTR_GETBG(FTAROW[i]) != FTATTR_GETBG(FTOAMAP[y][i])) + if (FTATTR_GETBG(FTAROW[i]) != FTATTR_GETBG(ft.rattr)) break; } if (i != x) -- cgit v1.2.3