Fix typos in winboard.c
authorH.G.Muller <hgm@hgm-xboard.(none)>
Sun, 3 Jan 2016 13:09:24 +0000 (14:09 +0100)
committerH.G.Muller <hgm@hgm-xboard.(none)>
Sun, 3 Jan 2016 13:09:24 +0000 (14:09 +0100)
winboard/winboard.c

index 176dc35..8d35e2c 100644 (file)
@@ -1145,7 +1145,7 @@ InitInstance(HINSTANCE hInstance, int nCmdShow, LPSTR lpCmdLine)
       broadcast.which = "broadcaster";\r
       broadcast.pr   = NoProc;\r
       broadcast.isr  = NULL;\r
-      broadcast.prog = c + 3;\r
+      broadcast.program = c + 3;\r
       broadcast.dir  = ".";\r
       broadcast.host = "localhost";\r
       StartChessProgram(&broadcast);\r
@@ -8246,8 +8246,8 @@ ModeHighlight()
     nowChecked = 0;\r
     break;\r
   }\r
-  if(prevChecked == IDM_TwoMachine) // [HGM] 'Machine Match' might have gotten disabled when stopping match\r
-    EnableMenuItem(GetMenu(hwndMain), IDM_Match, MF_BYCOMMAND|MF_ENABLED)\r
+  if(prevChecked == IDM_TwoMachines) // [HGM] 'Machine Match' might have gotten disabled when stopping match\r
+    EnableMenuItem(GetMenu(hwndMain), IDM_Match, MF_BYCOMMAND|MF_ENABLED);\r
   CheckMark(prevChecked, MF_UNCHECKED);\r
   CheckMark(nowChecked, MF_CHECKED);\r
   CheckMark(IDM_Match, matchMode && matchGame < appData.matchGames ? MF_CHECKED : MF_UNCHECKED);\r