X-Git-Url: http://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=test%2Fknight.c;fp=test%2Fknight.c;h=0d6675e5ba1689ad22ee843b7bbb2d8fec11c1a1;hp=b95996c608178b45eda852376796916560abd2c6;hb=9208e1bde56ebb9cc550fd93034f1d4650518b11;hpb=61d8ae54ff6acd69e9dab2afb21591d44c46ee1f diff --git a/test/knight.c b/test/knight.c index b95996c6..0d6675e5 100644 --- a/test/knight.c +++ b/test/knight.c @@ -1,5 +1,5 @@ /**************************************************************************** - * Copyright (c) 1998-2013,2017 Free Software Foundation, Inc. * + * Copyright (c) 1998-2017,2018 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.43 2017/09/10 00:13:02 tom Exp $ + * $Id: knight.c,v 1.44 2018/05/12 13:23:24 tom Exp $ */ #include @@ -417,7 +417,7 @@ drawMove(SQUARES squares, int count_moves, chtype tchar, int oldy, int oldx, int } else { cellmove(i, j); if (winch(boardwin) == minus) - waddch(boardwin, count_moves ? ' ' : minus); + waddch(boardwin, ' '); } } }