Make preview message in file-chooser title bar a bit clearer
[xboard.git] / args.h
diff --git a/args.h b/args.h
index 15c1630..c67abf1 100644 (file)
--- a/args.h
+++ b/args.h
@@ -224,6 +224,7 @@ ArgDescriptor argDescriptors[] = {
   { "pieceImageDirectory", ArgFilename, (void *) &appData.pieceDirectory, TRUE, (ArgIniType) "" },
   { "pid", ArgFilename, (void *) &appData.pieceDirectory, FALSE, INVALID },
   { "trueColors", ArgBoolean, (void *) &appData.trueColors, TRUE, (ArgIniType) FALSE },
+  { "jewelled", ArgInt, (void *) &appData.jewelled, FALSE, (ArgIniType) -1 },
   { "soundDirectory", ArgFilename, (void *) &appData.soundDirectory, XBOARD, (ArgIniType) "" },
   { "msLoginDelay", ArgInt, (void *) &appData.msLoginDelay, XBOARD, (ArgIniType) MS_LOGIN_DELAY },
   { "pasteSelection", ArgBoolean, (void *) &appData.pasteSelection, XBOARD, (ArgIniType) FALSE },
@@ -1418,6 +1419,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!
   }