Fix NoncompliantFEN defaults.
authorH.G. Muller <h.g.muller@hccnet.nl>
Wed, 6 Jan 2010 23:03:09 +0000 (00:03 +0100)
committerH.G. Muller <h.g.muller@hccnet.nl>
Wed, 6 Jan 2010 23:03:09 +0000 (00:03 +0100)
This must be NULL to get compliant FENs, not "", which would suppress castling and e.p. fields.

args.h

diff --git a/args.h b/args.h
index 079851e..9a5b9e9 100644 (file)
--- a/args.h
+++ b/args.h
@@ -567,8 +567,8 @@ ArgDescriptor argDescriptors[] = {
   { "autoLogo", ArgBoolean, (void *) &appData.autoLogo, TRUE, INVALID },
   { "firstOptions", ArgString, (void *) &appData.firstOptions, FALSE, (ArgIniType) "" },
   { "secondOptions", ArgString, (void *) &appData.secondOptions, FALSE, (ArgIniType) "" },
-  { "firstNeedsNoncompliantFEN", ArgString, (void *) &appData.fenOverride1, FALSE, (ArgIniType) "" },
-  { "secondNeedsNoncompliantFEN", ArgString, (void *) &appData.fenOverride2, FALSE, (ArgIniType) "" },
+  { "firstNeedsNoncompliantFEN", ArgString, (void *) &appData.fenOverride1, FALSE, (ArgIniType) NULL },
+  { "secondNeedsNoncompliantFEN", ArgString, (void *) &appData.fenOverride2, FALSE, (ArgIniType) NULL },
   { "keepAlive", ArgInt, (void *) &appData.keepAlive, FALSE, INVALID },
   { "icstype", ArgInt, (void *) &ics_type, FALSE, INVALID },
   { "forceIllegalMoves", ArgTrue, (void *) &appData.forceIllegal, FALSE, INVALID },