*****************************************************************************/
/*
- * $Id: blue.c,v 1.48 2017/01/22 00:39:52 tom Exp $
+ * $Id: blue.c,v 1.49 2017/04/15 13:36:36 tom Exp $
*/
#include <test.priv.h>
static void
printcard(int value)
{
- (void) addch(' ');
+ AddCh(' ');
if (value == NOCARD) {
(void) addstr(" ");
} else {
? RED_ON_WHITE
: BLACK_ON_WHITE);
- addch(ranks[isuit][0] | (chtype) COLOR_PAIR(BLUE_ON_WHITE));
- addch(ranks[isuit][1] | (chtype) COLOR_PAIR(BLUE_ON_WHITE));
+ AddCh(ranks[isuit][0] | (chtype) COLOR_PAIR(BLUE_ON_WHITE));
+ AddCh(ranks[isuit][1] | (chtype) COLOR_PAIR(BLUE_ON_WHITE));
#ifdef NCURSES_VERSION
(attron) ((int) color); /* quieter compiler warnings */
addwstr(values);
}
#else
- addch((chtype) suits[which]);
+ AddCh(suits[which]);
#endif
#ifdef NCURSES_VERSION
(attroff) ((int) color);
attroff(color);
#endif
}
- (void) addch(' ');
+ AddCh(' ');
}
static void
(void) addstr(buf);
move(PROMPTROW, (int) strlen(buf));
clrtoeol();
- (void) addch(' ');
+ AddCh(' ');
} while
(((c = (char) getch()) < 'a' || c > 'd')
&& (c != 'r')