X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=xaw%2Fxboard.c;h=79ffd021799871f848aa5af29f4cacfe92155ebb;hb=a83e12aca9f45c3dc2657feeed6b2d88040219d8;hp=d9f09539f798b6ac007e80afe0fc63c5791120f0;hpb=3c99c449641fc101cf866ab2b0506ad8194cad1e;p=xboard.git diff --git a/xaw/xboard.c b/xaw/xboard.c index d9f0953..79ffd02 100644 --- a/xaw/xboard.c +++ b/xaw/xboard.c @@ -1817,7 +1817,7 @@ ModeHighlight () { Arg args[16]; static int oldPausing = FALSE; - static GameMode oldmode = (GameMode) -1; + static GameMode oldMode = (GameMode) -1; char *wname; if (!boardWidget || !XtIsRealized(boardWidget)) return; @@ -1843,7 +1843,7 @@ ModeHighlight () } } - wname = ModeToWidgetName(oldmode); + wname = ModeToWidgetName(oldMode); if (wname != NULL) { MarkMenuItem(wname, False); } @@ -1853,7 +1853,7 @@ ModeHighlight () } if(oldMode == TwoMachinesPlay) EnableNamedMenuItem("Mode.MachineMatch", True); MarkMenuItem("Mode.MachineMatch", matchMode && matchGame < appData.matchGames); - oldmode = gameMode; + oldMode = gameMode; /* Maybe all the enables should be handled here, not just this one */ EnableNamedMenuItem("Mode.Training", gameMode == Training || gameMode == PlayFromGameFile);