From: H.G. Muller Date: Fri, 6 May 2011 16:56:53 +0000 (+0200) Subject: Fix range of tourneyType spin WB X-Git-Url: http://winboard.nl/cgi-bin?a=commitdiff_plain;h=5bcaf4baecc46eda033c3b86f753a4d85d1bcfec;p=xboard.git Fix range of tourneyType spin WB --- diff --git a/winboard/wsettings.c b/winboard/wsettings.c index d628913..d1e7eec 100644 --- a/winboard/wsettings.c +++ b/winboard/wsettings.c @@ -682,7 +682,7 @@ Option tourneyOptions[] = { { 0, 0, 4, NULL, (void*) &appData.tourneyFile, "", NULL, FileName, N_("Tournament file:") }, { 0, 1, 0, NULL, (void*) &engineChoice, (char*) (engineMnemonic+1), (engineMnemonic+1), ComboBox, N_("Select Engine:") }, { 0xD, 7, 0, NULL, (void*) &engineName, "", NULL, TextBox, "Tourney participants:" }, - { 0, -1, 10, NULL, (void*) &appData.tourneyType, "", NULL, Spin, N_("Tourney type (0=RR, 1=gauntlet):") }, + { 0, 0, 10, NULL, (void*) &appData.tourneyType, "", NULL, Spin, N_("Tourney type (0=RR, 1=gauntlet):") }, { 0, 0, 0, NULL, (void*) &appData.cycleSync, "", NULL, CheckBox, N_("Sync after cycle") }, { 0, 1, 1000000000, NULL, (void*) &appData.tourneyCycles, "", NULL, Spin, N_("Number of tourney cycles:") }, { 0, 0, 0, NULL, (void*) &appData.roundSync, "", NULL, CheckBox, N_("Sync after round") },