From b66f0f6890adf2c18b820ebf549074e28a57fad0 Mon Sep 17 00:00:00 2001 From: H.G.Muller Date: Sun, 3 Jan 2016 14:09:24 +0100 Subject: [PATCH] Fix typos in winboard.c --- winboard/winboard.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) 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); -- 1.7.0.4