Increas number of engine-defined variants to 15 (WB)
[xboard.git] / winboard / wsettings.c
index ba9488b..eb04e41 100644 (file)
@@ -886,6 +886,7 @@ int MatchOK()
 \r
 void PseudoOK(HWND hDlg)\r
 {\r
+    if(matchMode) return;\r
     okFunc = 0;\r
     GetOptionValues(hDlg, activeCps, activeList);\r
     EndDialog( hDlg, 0 );\r
@@ -898,6 +899,7 @@ void PseudoOK(HWND hDlg)
        if(appData.loadPositionIndex < 0) appData.loadPositionIndex = 0;\r
     }\r
     if(swiss) { appData.defaultMatchGames = 1; appData.tourneyType = -1; }\r
+    ASSIGN(appData.tourneyFile, tfName);\r
 }\r
 \r
 char *GetParticipants(HWND hDlg)\r