X-Git-Url: https://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=test%2Fncurses.c;h=ef75b42587780cc6894b427f86aaeeb35af25d6c;hp=345eadebfdbca6ff922cadcfc61a79d637a976e7;hb=0948e2c7ac34642a1f8a3a85000933bcbb258cff;hpb=acc28c6418f43cbf15187f2f1fd9a562d5d96535 diff --git a/test/ncurses.c b/test/ncurses.c index 345eadeb..ef75b425 100644 --- a/test/ncurses.c +++ b/test/ncurses.c @@ -40,7 +40,7 @@ AUTHOR Author: Eric S. Raymond 1993 Thomas E. Dickey (beginning revision 1.27 in 1996). -$Id: ncurses.c,v 1.415 2014/08/09 22:28:42 tom Exp $ +$Id: ncurses.c,v 1.416 2014/08/16 23:30:20 tom Exp $ ***************************************************************************/ @@ -1640,6 +1640,7 @@ attr_test(void) beep(); } else { extras |= (chtype) COLOR_PAIR(pair); + normal &= ~A_COLOR; } } } @@ -1653,6 +1654,7 @@ attr_test(void) for (j = 0; j < my_size; ++j) { bool arrow = (j == k); row = show_attr(my_wins[j], row, n, arrow, + normal | extras | my_list[j].attr | my_list[k].attr,