X-Git-Url: http://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=test%2Fblue.c;h=84199132bad6cdb0bc178a7ec82f678dd3349887;hp=dac0c761618f8fb2cd5f68c39e86cace1d0d5496;hb=c8e187fc9682a3c5cfaebc480fc98d8585f6caf6;hpb=3f5a74a97cf8d86a8a8a78c7b268f49ccdc4101c diff --git a/test/blue.c b/test/blue.c index dac0c761..84199132 100644 --- a/test/blue.c +++ b/test/blue.c @@ -1,5 +1,5 @@ /**************************************************************************** - * Copyright (c) 1998-2006,2008 Free Software Foundation, Inc. * + * Copyright (c) 1998-2008,2009 Free Software Foundation, Inc. * * * * Permission is hereby granted, free of charge, to any person obtaining a * * copy of this software and associated documentation files (the * @@ -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.30 2008/08/03 18:20:27 tom Exp $ + * $Id: blue.c,v 1.31 2009/08/29 19:02:25 tom Exp $ */ #include @@ -353,9 +353,9 @@ play_game(void) } move(PROMPTROW, 0); - standout(); + (void) standout(); (void) printw("Finished deal %d - type any character to continue...", deal_number); - standend(); + (void) standend(); (void) getch(); } @@ -386,7 +386,7 @@ game_finished(int deal) { clear(); (void) printw("You finished the game in %d deals. This is ", deal); - standout(); + (void) standout(); if (deal < 2) (void) addstr("excellent"); else if (deal < 4) @@ -395,7 +395,7 @@ game_finished(int deal) (void) addstr("average"); else (void) addstr("poor"); - standend(); + (void) standend(); (void) addstr(". "); refresh(); }