From: H.G.Muller Date: Sun, 3 Jan 2016 13:09:24 +0000 (+0100) Subject: Fix typos in winboard.c X-Git-Url: http://winboard.nl/cgi-bin?a=commitdiff_plain;h=b66f0f6890adf2c18b820ebf549074e28a57fad0;p=xboard.git Fix typos in winboard.c --- diff --git a/winboard/winboard.c b/winboard/winboard.c index 176dc35..8d35e2c 100644 --- a/winboard/winboard.c +++ b/winboard/winboard.c @@ -1145,7 +1145,7 @@ InitInstance(HINSTANCE hInstance, int nCmdShow, LPSTR lpCmdLine) broadcast.which = "broadcaster"; broadcast.pr = NoProc; broadcast.isr = NULL; - broadcast.prog = c + 3; + broadcast.program = c + 3; broadcast.dir = "."; broadcast.host = "localhost"; StartChessProgram(&broadcast); @@ -8246,8 +8246,8 @@ ModeHighlight() nowChecked = 0; break; } - if(prevChecked == IDM_TwoMachine) // [HGM] 'Machine Match' might have gotten disabled when stopping match - EnableMenuItem(GetMenu(hwndMain), IDM_Match, MF_BYCOMMAND|MF_ENABLED) + if(prevChecked == IDM_TwoMachines) // [HGM] 'Machine Match' might have gotten disabled when stopping match + EnableMenuItem(GetMenu(hwndMain), IDM_Match, MF_BYCOMMAND|MF_ENABLED); CheckMark(prevChecked, MF_UNCHECKED); CheckMark(nowChecked, MF_CHECKED); CheckMark(IDM_Match, matchMode && matchGame < appData.matchGames ? MF_CHECKED : MF_UNCHECKED);