* This is an example written by Alexander V. Lukyanov <lav@yars.free.net>,
* 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 <test.priv.h>
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);
}
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);
}