From: H.G. Muller Date: Wed, 8 Jun 2011 15:05:02 +0000 (+0200) Subject: Fix -matchGames option X-Git-Url: http://winboard.nl/cgi-bin?a=commitdiff_plain;h=9dbe493e5795b3d96554a693aff44f56e435bc26;hp=8091f9314def0915c6bcf678700a5f7f26aa39c3;p=xboard.git Fix -matchGames option The new MatchEvent code had broken the -mg option, and used always -defaultMatchGames in stead. --- diff --git a/backend.c b/backend.c index 2ed15a3..51f348e 100644 --- a/backend.c +++ b/backend.c @@ -1410,7 +1410,7 @@ MatchEvent(int mode) // return; // } abortMatch = FALSE; - appData.matchGames = appData.defaultMatchGames; + if(mode == 2) appData.matchGames = appData.defaultMatchGames; /* Set up machine vs. machine match */ nextGame = 0; NextTourneyGame(-1, &dummy); // sets appData.matchGames if this is tourney, to make sure ReserveGame knows it