fen.c: fix a typo - chess-puzzles - chess puzzle book generator | |
git clone git://git.codemadness.org/chess-puzzles | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit 37c4fe7bb023a2537fd8221042a9b62086c6532b | |
parent 62500fd8c67b353a43bad026d0f730eccbd90b47 | |
Author: Hiltjo Posthuma <[email protected]> | |
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(-) | |
--- | |
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, bisho… | |
+ /* is a valid piece? should be queen, rook, bishop, knight (no… | |
if (isvalidpiece(*s)) { | |
if (side == 'w') | |
promote = toupper(*s); |