From: H.G. Muller Date: Wed, 31 Oct 2012 17:18:02 +0000 (+0100) Subject: Fix initial enables in TC dialog X-Git-Url: http://winboard.nl/cgi-bin?a=commitdiff_plain;h=36a8ecfac505400350e6d26fb6d1ad1d4cf0d4be;p=xboard.git Fix initial enables in TC dialog --- diff --git a/dialogs.c b/dialogs.c index af767e5..c4971d4 100644 --- a/dialogs.c +++ b/dialogs.c @@ -1400,6 +1400,7 @@ TimeControlProc () tmpOdds1 = tmpOdds2 = 1; tcType = 0; tmpTc = atoi(appData.timeControl); GenericPopUp(tcOptions, _("Time Control"), TransientDlg, BoardWindow, MODAL, 0); + SetTcType(searchTime ? 2 : appData.timeIncrement < 0 ? 0 : 1); } //------------------------------- Ask Question -----------------------------------------