X-Git-Url: http://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=test%2Fblue.c;fp=test%2Fblue.c;h=5402c4f9ef1b35c419e39fbd5e114574ffc9786e;hp=1d168e37085400846be966b88b6a9313b24a8c17;hb=603f0cb25b7acc8f04f4b18d2a2fe6f90039829a;hpb=bf66beed16926edb72b65b5ac3e7610fb8f04523 diff --git a/test/blue.c b/test/blue.c index 1d168e37..5402c4f9 100644 --- a/test/blue.c +++ b/test/blue.c @@ -36,7 +36,7 @@ *****************************************************************************/ /* - * $Id: blue.c,v 1.44 2016/04/16 23:20:09 tom Exp $ + * $Id: blue.c,v 1.45 2016/06/12 00:17:37 tom Exp $ */ #include @@ -209,7 +209,7 @@ printcard(int value) addch(ranks[isuit][0] | (chtype) COLOR_PAIR(BLUE_ON_WHITE)); addch(ranks[isuit][1] | (chtype) COLOR_PAIR(BLUE_ON_WHITE)); - attr_on(color, NULL); + attron(color); #if USE_WIDEC_SUPPORT { wchar_t values[2]; @@ -220,7 +220,7 @@ printcard(int value) #else addch((chtype) suits[which]); #endif - attr_off(color, NULL); + attroff(color); } (void) addch(' '); }