From: H.G. Muller Date: Wed, 6 Jan 2010 23:03:09 +0000 (+0100) Subject: Fix NoncompliantFEN defaults. X-Git-Tag: master-20100118~29 X-Git-Url: http://winboard.nl/cgi-bin?a=commitdiff_plain;h=f5ce0900b7858572cfe4dbf65d633983a8b6f0b2;p=xboard.git Fix NoncompliantFEN defaults. This must be NULL to get compliant FENs, not "", which would suppress castling and e.p. fields. --- diff --git a/args.h b/args.h index 079851e..9a5b9e9 100644 --- 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 },