projects
/
xboard.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
8091f93
)
Fix -matchGames option
author
H.G. Muller
<h.g.muller@hccnet.nl>
Wed, 8 Jun 2011 15:05:02 +0000 (17:05 +0200)
committer
H.G. Muller
<h.g.muller@hccnet.nl>
Wed, 8 Jun 2011 16:09:13 +0000 (18:09 +0200)
The new MatchEvent code had broken the -mg option, and used always
-defaultMatchGames in stead.
backend.c
patch
|
blob
|
history
diff --git
a/backend.c
b/backend.c
index
2ed15a3
..
51f348e
100644
(file)
--- 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