diff options
-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; |