From: H.G.Muller Date: Mon, 28 Mar 2016 07:56:38 +0000 (+0200) Subject: Also copy -sd from -fd when no second engine defined X-Git-Url: http://winboard.nl/cgi-bin?p=xboard.git;a=commitdiff_plain;h=4fc6fe186519313063f3130fce510e55c9cf6f71 Also copy -sd from -fd when no second engine defined If the second engine defaults to the first, and the first needs to be run in a specific directory, the second engine would not start if we do not copy its directory too. --- diff --git a/args.h b/args.h index 15c1630..8d07b20 100644 --- a/args.h +++ b/args.h @@ -1418,6 +1418,7 @@ InitAppData(char *lpCmdLine) 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! }