summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2007-12-25 17:11:40 +0800
committerpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2007-12-25 17:11:40 +0800
commitb0976e9c84d34b63b90e9a5e4f9971338a78d39f (patch)
tree422206b526b8e94d7815e413b5b5924f4036f70e
parent6d37819d9463fcc47db16cb058221bc9265b3991 (diff)
downloadpttbbs-b0976e9c84d34b63b90e9a5e4f9971338a78d39f.tar
pttbbs-b0976e9c84d34b63b90e9a5e4f9971338a78d39f.tar.gz
pttbbs-b0976e9c84d34b63b90e9a5e4f9971338a78d39f.tar.bz2
pttbbs-b0976e9c84d34b63b90e9a5e4f9971338a78d39f.tar.lz
pttbbs-b0976e9c84d34b63b90e9a5e4f9971338a78d39f.tar.xz
pttbbs-b0976e9c84d34b63b90e9a5e4f9971338a78d39f.tar.zst
pttbbs-b0976e9c84d34b63b90e9a5e4f9971338a78d39f.zip
-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
-rw-r--r--mbbsd/pfterm.c4
1 files changed, 2 insertions, 2 deletions
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)