X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=menus.c;h=03a2d3cd16055372bf2d17d7a56bb4586d4641bd;hb=ebd7f78161504e46896f7d96bb41e29714b2fd53;hp=863f2a016728f936cf6197ce24cd6e5939a9d1cc;hpb=0278ebc80411a20fd23303156285e55ce8d2b0a5;p=xboard.git diff --git a/menus.c b/menus.c index 863f2a0..03a2d3c 100644 --- a/menus.c +++ b/menus.c @@ -258,6 +258,8 @@ QuitProc () void MatchProc () { + static Enables matchOff[] = { { "Mode.MachineMatch", False }, { NULL, False } }; + if(matchMode) SetMenuEnables(matchOff); MatchEvent(2); } @@ -699,6 +701,7 @@ MenuItem engineMenu[100] = { {"----", NULL, NULL, NothingProc}, {N_("Engine #1 Settings..."), NULL, "Engine#1Settings", FirstSettingsProc}, {N_("Engine #2 Settings..."), NULL, "Engine#2Settings", SecondSettingsProc}, + {N_("Common Settings..."), "u","CommonEngine", UciMenuProc}, {"----", NULL, NULL, NothingProc}, {N_("Hint"), NULL, "Hint", HintEvent}, {N_("Book"), NULL, "Book", BookEvent}, @@ -713,7 +716,6 @@ MenuItem optionsMenu[] = { {N_("General..."), NULL, "General", OptionsProc}, #endif {N_("Time Control..."), "t", "TimeControl", TimeControlProc}, - {N_("Common Engine..."), "u", "CommonEngine", UciMenuProc}, {N_("Adjudications..."), "j", "Adjudications", EngineMenuProc}, {N_("ICS..."), NULL, "ICS", IcsOptionsProc}, {N_("Tournament..."), NULL, "Match", MatchOptionsProc},