X-Git-Url: http://winboard.nl/cgi-bin?p=xboard.git;a=blobdiff_plain;f=args.h;h=8d07b20d26314d913845144d82fe3c749df6032f;hp=67d195eb2a59fdc68d398256c692dc5d71f0c2ef;hb=c538ad128cef9fea034c4c67405cfb51dc2b6ce3;hpb=d84fcdd7b911514302200ce9edfde2c8c8f2d66e diff --git a/args.h b/args.h index 67d195e..8d07b20 100644 --- a/args.h +++ b/args.h @@ -1416,7 +1416,11 @@ InitAppData(char *lpCmdLine) appData.NrRanks > BOARD_RANKS ) DisplayFatalError("Recompile with BOARD_RANKS or BOARD_FILES, to support this size", 0, 2); - if(!*appData.secondChessProgram) { ASSIGN(appData.secondChessProgram, appData.firstChessProgram); } // [HGM] scp defaults to fcp + if(!*appData.secondChessProgram) { // [HGM] scp defaults to fcp + ASSIGN(appData.secondChessProgram, appData.firstChessProgram); + ASSIGN(appData.secondDirectory, appData.firstDirectory); + appData.secondIsUCI = appData.firstIsUCI; // copy type too! + } /* [HGM] After parsing the options from the .ini file, and overruling them * with options from the command line, we now make an even higher priority