X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=winboard%2Fwsettings.c;h=545071cd9ae638fe4b5e0b52e63abe1b5273b37e;hb=484955a33287fdda17f4290e94e6e647c8a51f19;hp=b3e41cd8fa9aa6b24fa647034929233c09c42895;hpb=062968403f8608f4d3cd0235c0ad624c479a07df;p=xboard.git diff --git a/winboard/wsettings.c b/winboard/wsettings.c index b3e41cd..545071c 100644 --- a/winboard/wsettings.c +++ b/winboard/wsettings.c @@ -977,7 +977,7 @@ void TourneyPopup(HWND hwnd) { int n = NamesToList(firstChessProgramNames, engineList, engineMnemonic, ""); autoinc = appData.loadGameIndex < 0 || appData.loadPositionIndex < 0; - twice = FALSE; swiss = appData.tourneyType < 0; + twice = appData.loadGameIndex == -2 || appData.loadPositionIndex == -2; swiss = appData.tourneyType < 0; tourneyOptions[0].max = n; snprintf(title, MSG_SIZ, _("Tournament and Match Options")); ASSIGN(tfName, appData.tourneyFile[0] ? appData.tourneyFile : MakeName(appData.defName));