X-Git-Url: http://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=test%2Fbs.c;h=4330f902d7c180f253d0db03bb4729391b0b353d;hp=ce74f566f5a7bbf1969b49c7f113bc0ab631efd1;hb=efd59f16f336b4c4c698ff783e1723f3161026ef;hpb=027ae42953e3186daed8f3882da73de48291b606 diff --git a/test/bs.c b/test/bs.c index ce74f566..4330f902 100644 --- a/test/bs.c +++ b/test/bs.c @@ -1,5 +1,5 @@ /**************************************************************************** - * Copyright (c) 1998-2005,2006 Free Software Foundation, Inc. * + * Copyright (c) 1998-2006,2007 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 * @@ -34,7 +34,7 @@ * v2.0 featuring strict ANSI/POSIX conformance, November 1993. * v2.1 with ncurses mouse support, September 1995 * - * $Id: bs.c,v 1.44 2006/05/20 15:38:52 tom Exp $ + * $Id: bs.c,v 1.45 2007/04/07 17:13:11 tom Exp $ */ #include @@ -459,7 +459,7 @@ initgame(void) do { c = getch(); } while - (!strchr("hjklrR", c) || c == FF); + (!(strchr("hjklrR", c) || c == FF)); if (c == FF) { (void) clearok(stdscr, TRUE);