X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=xaw%2Fxboard.c;h=d9f09539f798b6ac007e80afe0fc63c5791120f0;hb=3c99c449641fc101cf866ab2b0506ad8194cad1e;hp=8792a772b73c9e2e48db0fbb521ad750e1c99e86;hpb=a24992eef4621e0f45993a38cc6770cdb631d2cc;p=xboard.git diff --git a/xaw/xboard.c b/xaw/xboard.c index 8792a77..d9f0953 100644 --- a/xaw/xboard.c +++ b/xaw/xboard.c @@ -1851,8 +1851,9 @@ ModeHighlight () if (wname != NULL) { MarkMenuItem(wname, True); } - oldmode = gameMode; + if(oldMode == TwoMachinesPlay) EnableNamedMenuItem("Mode.MachineMatch", True); MarkMenuItem("Mode.MachineMatch", matchMode && matchGame < appData.matchGames); + oldmode = gameMode; /* Maybe all the enables should be handled here, not just this one */ EnableNamedMenuItem("Mode.Training", gameMode == Training || gameMode == PlayFromGameFile);