diff options
author | ache <ache@FreeBSD.org> | 1994-09-07 16:52:33 +0000 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 1994-09-07 16:52:33 +0000 |
commit | 8069160004b22251314142f4a69da8ed252eda7f (patch) | |
tree | f8a70917a6f69fe7e3145cf7f9245d882dc7ac97 /lib/libcurses/refresh.c | |
parent | cd9e971becad1bf5f2c758ad0ae7b4c76e8cb5d2 (diff) | |
download | FreeBSD-src-8069160004b22251314142f4a69da8ed252eda7f.zip FreeBSD-src-8069160004b22251314142f4a69da8ed252eda7f.tar.gz |
Bug fixed:
when refreshing standouted line curses outputs SO for all characters
Submitted by: ZW6T-KND@j.asahi-net.or.jp
Diffstat (limited to 'lib/libcurses/refresh.c')
-rw-r--r-- | lib/libcurses/refresh.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libcurses/refresh.c b/lib/libcurses/refresh.c index 93e80d3..d8860b4 100644 --- a/lib/libcurses/refresh.c +++ b/lib/libcurses/refresh.c @@ -337,8 +337,8 @@ makech(win, wy) } /* Enter/exit standout mode as appropriate. */ - if (SO && (nsp->attr & __STANDOUT) != - (curscr->flags & __WSTANDOUT)) { + if (SO && !(nsp->attr & __STANDOUT) != + !(curscr->flags & __WSTANDOUT)) { if (nsp->attr & __STANDOUT) { tputs(SO, 0, __cputchar); curscr->flags |= __WSTANDOUT; |