X-Git-Url: http://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=test%2Fknight.c;h=50cba37f8682e3f6a60d7ed2ea49f6dc18d2cdb0;hp=0d6675e5ba1689ad22ee843b7bbb2d8fec11c1a1;hb=8b6693ef8fb9e7bafb52d7c42fc3d15b7a1bea3f;hpb=81c758ae6facb0256dbc8a9d1d93795dd093d683 diff --git a/test/knight.c b/test/knight.c index 0d6675e5..50cba37f 100644 --- a/test/knight.c +++ b/test/knight.c @@ -1,5 +1,5 @@ /**************************************************************************** - * Copyright (c) 1998-2017,2018 Free Software Foundation, Inc. * + * Copyright (c) 1998-2018,2019 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 * @@ -33,7 +33,7 @@ * Eric S. Raymond July 22 1995. Mouse support * added September 20th 1995. * - * $Id: knight.c,v 1.44 2018/05/12 13:23:24 tom Exp $ + * $Id: knight.c,v 1.45 2019/04/20 20:34:55 tom Exp $ */ #include @@ -75,7 +75,9 @@ static WINDOW *boardwin; /* the board window */ static WINDOW *helpwin; /* the help window */ static WINDOW *msgwin; /* the message window */ +#if HAVE_USE_DEFAULT_COLORS static bool d_option; +#endif static chtype minus = '-'; /* possible-move character */ static chtype oldch;