Also copy -sd from -fd when no second engine defined
[xboard.git] / args.h
diff --git a/args.h b/args.h
index 15c1630..8d07b20 100644 (file)
--- 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!
   }