Bug fixed:

when refreshing standouted line curses outputs SO for all characters
Submitted by: ZW6T-KND@j.asahi-net.or.jp
This commit is contained in:
Andrey A. Chernov 1994-09-07 16:52:33 +00:00
parent 6052587146
commit 53e1aa653e
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=2543

View File

@ -337,8 +337,8 @@ makech(win, wy)
} }
/* Enter/exit standout mode as appropriate. */ /* Enter/exit standout mode as appropriate. */
if (SO && (nsp->attr & __STANDOUT) != if (SO && !(nsp->attr & __STANDOUT) !=
(curscr->flags & __WSTANDOUT)) { !(curscr->flags & __WSTANDOUT)) {
if (nsp->attr & __STANDOUT) { if (nsp->attr & __STANDOUT) {
tputs(SO, 0, __cputchar); tputs(SO, 0, __cputchar);
curscr->flags |= __WSTANDOUT; curscr->flags |= __WSTANDOUT;