X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=backend.c;h=ae15f1a6cce6365a8213eb896211b42ea958e145;hb=00db7129eba48aa798b9da74391d3e9d367088f6;hp=e0f6ec9ed09fa6239f97f5bd8628456baf4bb3ff;hpb=efecf86cd9b54072c6a2f38d62f1d775e69c545b;p=xboard.git diff --git a/backend.c b/backend.c index e0f6ec9..ae15f1a 100644 --- a/backend.c +++ b/backend.c @@ -8892,7 +8892,7 @@ InitChessProgram(cps, setup) if( gameInfo.variant == VariantBughouse || gameInfo.variant == VariantCrazyhouse ) overruled = gameInfo.boardWidth != 8 || gameInfo.boardHeight != 8 || gameInfo.holdingsSize != 5; if( gameInfo.variant == VariantCapablanca || gameInfo.variant == VariantCapaRandom || - gameInfo.variant == VariantGothic || gameInfo.variant == VariantFalcon ) + gameInfo.variant == VariantGothic || gameInfo.variant == VariantFalcon || gameInfo.variant == VariantJanus ) overruled = gameInfo.boardWidth != 10 || gameInfo.boardHeight != 8 || gameInfo.holdingsSize != 0; if( gameInfo.variant == VariantCourier ) overruled = gameInfo.boardWidth != 12 || gameInfo.boardHeight != 8 || gameInfo.holdingsSize != 0; @@ -13908,8 +13908,6 @@ ParseOption(Option *opt, ChessProgramState *cps) opt->type = Button; } else if(p = strstr(opt->name, " -save")) { opt->type = SaveButton; - } else if(p = strstr(opt->name, " -reset")) { - opt->type = ResetButton; } else return FALSE; *p = 0; // terminate option name // now look if the command-line options define a setting for this engine option.