From: H.G. Muller Date: Wed, 8 Jun 2011 15:24:41 +0000 (+0200) Subject: Fix clock mode in tourney starting from -ncp mode X-Git-Url: http://winboard.nl/cgi-bin?a=commitdiff_plain;h=5449be52c9120b4a78a433e954569ee6a62157ff;p=xboard.git Fix clock mode in tourney starting from -ncp mode When a tourney started from -ncp mode, which was allowed in MatchEvent, because the tourney loads its own engines anyway, the menu enablings and clockmode where not restored to their 'GNUMode' state. --- diff --git a/backend.c b/backend.c index d04fd3d..9ba38f3 100644 --- a/backend.c +++ b/backend.c @@ -1550,6 +1550,8 @@ InitBackEnd3 P((void)) if(f = fopen(appData.tourneyFile, "r")) { ParseArgsFromFile(f); // make sure tourney parmeters re known fclose(f); + appData.clockMode = TRUE; + SetGNUMode(); } else appData.tourneyFile[0] = NULLCHAR; // for now ignore bad tourney file } MatchEvent(TRUE);