\r
void PseudoOK(HWND hDlg)\r
{\r
+ if(matchMode) return;\r
okFunc = 0;\r
GetOptionValues(hDlg, activeCps, activeList);\r
EndDialog( hDlg, 0 );\r
\r
if(autoinc) appData.loadGameIndex = appData.loadPositionIndex = -(twice + 1); else\r
if(!appData.loadGameFile[0]) appData.loadGameIndex = -2*twice; // kludge to pass value of "twice" for use in GUI book\r
+ if(!autoinc && !twice) { // prevent auto-inc being remembered in index value if checkboxes not ticked\r
+ if(appData.loadGameIndex < 0) appData.loadGameIndex = 0;\r
+ 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