X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=menus.c;h=4dbf0164d105b46094b05c686bcf846f61d12c97;hb=033144221147270236bb1dd85ac3f25448dd644c;hp=9ddfbada41e88e0729df9a8174aade172adefed3;hpb=ba12e63149a003b88b8525d6eb50d48539c660b6;p=xboard.git diff --git a/menus.c b/menus.c index 9ddfbad..4dbf016 100644 --- a/menus.c +++ b/menus.c @@ -5,7 +5,7 @@ * Massachusetts. * * Enhancements Copyright 1992-2001, 2002, 2003, 2004, 2005, 2006, - * 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014 Free Software Foundation, Inc. + * 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015 Free Software Foundation, Inc. * * The following terms apply to Digital Equipment Corporation's copyright * interest in XBoard: @@ -257,6 +257,8 @@ QuitProc () void MatchProc () { + static Enables matchOff[] = { { "Mode.MachineMatch", False }, { NULL, False } }; + if(matchMode) SetMenuEnables(matchOff); MatchEvent(2); } @@ -313,19 +315,6 @@ SaveSettingsProc () } void -InfoProc () -{ - char buf[MSG_SIZ]; -#ifdef OSXAPP - snprintf(buf, MSG_SIZ, "%s ./info.command", appData.sysOpen); -#else - snprintf(buf, sizeof(buf), "xterm -e info --directory %s --directory . -f %s &", - INFODIR, INFOFILE); -#endif - system(buf); -} - -void BugReportProc () { char buf[MSG_SIZ]; @@ -369,7 +358,7 @@ AboutProc () snprintf(buf, sizeof(buf), _("%s%s\n\n" "Copyright 1991 Digital Equipment Corporation\n" -"Enhancements Copyright 1992-2014 Free Software Foundation\n" +"Enhancements Copyright 1992-2015 Free Software Foundation\n" "Enhancements Copyright 2005 Alessandro Scotti\n\n" "%s is free software and carries NO WARRANTY;" "see the file COPYING for more information.\n"