Introduction
Introduction Statistics Contact Development Disclaimer Help
fen.c: remove unneccesary check - chess-puzzles - chess puzzle book generator
git clone git://git.codemadness.org/chess-puzzles
Log
Files
Refs
README
LICENSE
---
commit 79add5ed63f4c15703b14bfa3209d5046f8ebb3f
parent abc52654a913253417dcd329cf70a975f8674dd6
Author: Hiltjo Posthuma <[email protected]>
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(-)
---
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"))) {
You are viewing proxied material from codemadness.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.