From: H.G. Muller Date: Wed, 12 Oct 2011 15:41:18 +0000 (+0200) Subject: Print message on wrong use of Clone Tourney X-Git-Url: http://winboard.nl/cgi-bin?a=commitdiff_plain;h=09d925e8732793829e2a2a2abe582a46343e3fd2;p=xboard.git Print message on wrong use of Clone Tourney The user is urged to first provide the name of an existing tourney file when he presses the button without one. The button is also renamed. --- diff --git a/winboard/wsettings.c b/winboard/wsettings.c index 509b6d4..83472f5 100644 --- a/winboard/wsettings.c +++ b/winboard/wsettings.c @@ -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)); @@ -773,7 +773,7 @@ Option tourneyOptions[] = { { 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 , "" } };