fen.c: fix a typo - chess-puzzles - chess puzzle book generator
(HTM) git clone git://git.codemadness.org/chess-puzzles
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit 37c4fe7bb023a2537fd8221042a9b62086c6532b
(DIR) parent 62500fd8c67b353a43bad026d0f730eccbd90b47
(HTM) Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sun, 14 Jan 2024 20:30:56 +0100
fen.c: fix a typo
Diffstat:
M fen.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
(DIR) diff --git a/fen.c b/fen.c
@@ -1145,7 +1145,7 @@ board_playmoves(struct board *b, const char *moves)
s += 2;
promote = 0;
- /* is a piece? not validated, but should be queen, rook, bishop, knight */
+ /* is a valid piece? should be queen, rook, bishop, knight (not validated exactly) */
if (isvalidpiece(*s)) {
if (side == 'w')
promote = toupper(*s);