X-Git-Url: https://ncurses.scripts.mit.edu/?a=blobdiff_plain;f=test%2Fblue.c;fp=test%2Fblue.c;h=dfe6abf1b426d8d711e1ecbaf54170d36f1be17e;hb=3a0d9d27e0cf115ff9dcc6163c251bccaa62bd7d;hp=a798c9d50f579a99d56bf1ef5394adaa8eb409bb;hpb=03cbf5c46f9256e202a208aaf9650fd8332fec1d;p=ncurses.git diff --git a/test/blue.c b/test/blue.c index a798c9d5..dfe6abf1 100644 --- a/test/blue.c +++ b/test/blue.c @@ -40,7 +40,7 @@ * results, use the ncurses(3) library. On non-Intel machines, SVr4 curses is * just as good. * - * $Id: blue.c,v 1.32 2009/10/10 16:16:46 tom Exp $ + * $Id: blue.c,v 1.33 2009/10/24 21:03:35 tom Exp $ */ #include @@ -300,7 +300,7 @@ play_game(void) if (selection[i] != NOCARD) { move(BASEROW + (selection[i] / GRID_WIDTH) * 2 + 3, (selection[i] % GRID_WIDTH) * 5); - (void) printw(" %c ", (char) (*lp++ = 'a' + i)); + (void) printw(" %c ", (*lp++ = (char) ('a' + i))); } }; *lp = '\0';