X-Git-Url: https://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=test%2Ftestaddch.c;h=ccadab80f4a12d40ed6167b53801ccacdf9b27c3;hp=d39109894173ddb95f9749ba81cf9e6cff7b05dd;hb=aefc1659d732acf7e62c0c78a443d6d8352a3c6e;hpb=c6f54649ed4bf49ec27a522816984d2290201438 diff --git a/test/testaddch.c b/test/testaddch.c index d3910989..ccadab80 100644 --- a/test/testaddch.c +++ b/test/testaddch.c @@ -29,7 +29,7 @@ * This is an example written by Alexander V. Lukyanov , * to demonstrate an inconsistency between ncurses and SVr4 curses. * - * $Id: testaddch.c,v 1.10 2014/07/27 00:24:49 tom Exp $ + * $Id: testaddch.c,v 1.12 2014/08/02 23:11:20 tom Exp $ */ #include @@ -66,7 +66,7 @@ main( attr = (chtype) ((i & 4) ? COLOR_PAIR(4) : 0); bkgdset(back); - (void) attrset(set); + (void) attrset(AttrArg(set, 0)); attr_addstr("Test string with spaces -> <-\n", attr); } @@ -77,7 +77,7 @@ main( attr = (chtype) ((i & 4) ? (chtype) COLOR_PAIR(4) : 0); bkgdset(back); - (void) attrset(set); + (void) attrset(AttrArg(set, 0)); attr_addstr("Test string with spaces -> <-\n", attr); }