fen.c: remove unneccesary check - chess-puzzles - chess puzzle book generator
HTML git clone git://git.codemadness.org/chess-puzzles
DIR Log
DIR Files
DIR Refs
DIR README
DIR LICENSE
---
DIR commit 79add5ed63f4c15703b14bfa3209d5046f8ebb3f
DIR parent abc52654a913253417dcd329cf70a975f8674dd6
HTML Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Mon, 8 Jan 2024 21:55:31 +0100
fen.c: remove unneccesary check
Diffstat:
M fen.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
DIR diff --git a/fen.c b/fen.c
@@ -1531,7 +1531,7 @@ cgi_mode(void)
if ((p = getparam(query, "coords")) && (*p == '0' || *p == '1'))
board.showcoords = *p == '1' ? 1 : 0;
if ((p = getparam(query, "dutch")) && *p == '1') {
- dutchmode = *p == '1' ? 1 : 0;
+ dutchmode = 1;
pgn_piecemapping = "KDTLP";
}
if ((p = getparam(query, "output"))) {