From 09d925e8732793829e2a2a2abe582a46343e3fd2 Mon Sep 17 00:00:00 2001 From: H.G. Muller Date: Wed, 12 Oct 2011 17:41:18 +0200 Subject: [PATCH] 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. --- winboard/wsettings.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) 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 , "" } }; -- 1.7.0.4