char *gameCopyFilename, *gamePasteFilename;
Boolean saveSettingsOnExit;
char *settingsFileName;
+char gamesDir[MSG_SIZ], positionsDir[MSG_SIZ], textureDir[MSG_SIZ], bookDir[MSG_SIZ], piecesDir[MSG_SIZ];
static int
LoadGamePopUp (FILE *f, int gameNumber, char *title)
snprintf(buf + strlen(buf), MSG_SIZ - strlen(buf), " -fd %s", dir);
if(!strcmp(protocol, "uci"))
snprintf(buf + strlen(buf), MSG_SIZ - strlen(buf), " -fUCI");
+ if(strstr(firstChessProgramNames, buf)) return; // avoid duplicats
// append line
quote = malloc(strlen(firstChessProgramNames) + strlen(buf) + 2);
sprintf(quote, "%s%s\n", firstChessProgramNames, buf);