X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=winboard%2Fwsettings.c;h=83472f5e6e3d7e17520899dd30583172f0f67445;hb=26c62764a8c9756dfee14ea8f98a4251bd2ea5f4;hp=3ceaf3421d8c1821baa8d3175fc55e973058f65c;hpb=c313aa54507ec0a907e97656a4a1b8a02bd45d06;p=xboard.git diff --git a/winboard/wsettings.c b/winboard/wsettings.c index 3ceaf34..83472f5 100644 --- a/winboard/wsettings.c +++ b/winboard/wsettings.c @@ -389,7 +389,7 @@ GetOptionValues(HWND hDlg, ChessProgramState *cps, Option *optionList) for(k=0; k 0) { if(*(char**)optionList[j].target) free(*(char**)optionList[j].target); *(char**)optionList[j].target = strdup(optionList[j].choice[new]); break; @@ -741,7 +741,7 @@ void Inspect(HWND hDlg) swiss = appData.tourneyType < 0; SetOptionValues(hDlg, NULL, activeList); FREE(appData.saveGameFile); appData.saveGameFile = saveSaveFile; - } + } else DisplayError(_("First you must specify an existing tourney file to clone"), 0); } void TimeControlOptionsPopup P((HWND hDlg)); @@ -767,12 +767,13 @@ Option tourneyOptions[] = { { 0, 0, 0, NULL, (void*) &autoinc, "", NULL, CheckBox, N_("Step through lines/positions in file") }, { 0, 0, 1000000000, NULL, (void*) &appData.rewindIndex, "", NULL, Spin, N_("Rewind after (0 = never):") }, { 0, 0, 0, NULL, (void*) &twice, "", NULL, CheckBox, N_("Use each line/position twice") }, + { 0, 0, 0, NULL, (void*) &appData.defNoBook, "", NULL, CheckBox, N_("Make all use GUI book by default") }, { 0, 0, 1000000000, NULL, (void*) &appData.matchPause, "", NULL, Spin, N_("Pause between Games (ms):") }, { 0, 0, 0, NULL, (void*) &ReplaceParticipant, "", NULL, Button, N_("Replace Engine") }, { 0, 0, 0, NULL, (void*) &UpgradeParticipant, "", NULL, Button, N_("Upgrade Engine") }, { 0, 0, 0, NULL, (void*) &TimeControlOptionsPopup, "", NULL, Button, N_("Time Control...") }, { 0, 0, 0, NULL, (void*) &UciOptionsPopup, "", NULL, Button, N_("Common Engine...") }, - { 0, 0, 0, NULL, (void*) &Inspect, "", NULL, Button, N_("Inspect TourneyFile") }, + { 0, 0, 0, NULL, (void*) &Inspect, "", NULL, Button, N_("Clone Tourney") }, { 0, 0, 0, NULL, (void*) &MatchOK, "", NULL, EndMark , "" } };