From 4fc6fe186519313063f3130fce510e55c9cf6f71 Mon Sep 17 00:00:00 2001 From: H.G.Muller Date: Mon, 28 Mar 2016 09:56:38 +0200 Subject: [PATCH] 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. --- args.h | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) 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! } -- 1.7.0.4