X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=dialogs.c;h=16cf9788b49b88852ebf3c89dc82a4b0fdb95304;hb=cbd80b765ec4a10f6cdde5811bc0f216c975eb50;hp=d409164282e87e1c5981c4edd7a1124100bc5cdb;hpb=a17fe39ced3bfb55a8ae6d9abac97518b841daaa;p=xboard.git diff --git a/dialogs.c b/dialogs.c index d409164..16cf978 100644 --- a/dialogs.c +++ b/dialogs.c @@ -236,7 +236,7 @@ MatchOK (int n) if(!CreateTourney(tfName) || matchMode) return matchMode || !appData.participants[0]; PopDown(TransientDlg); // early popdown to prevent FreezeUI called through MatchEvent from causing XtGrab warning MatchEvent(2); // start tourney - return 1; + return FALSE; // no double PopDown! } static Option matchOptions[] = { @@ -1074,7 +1074,7 @@ PutText (char *text, int pos) } void -InputBoxPopup () +ICSInputBoxPopUp () { MarkMenu("ICS Input Box", InputBoxDlg); if(GenericPopUp(boxOptions, _("ICS input box"), InputBoxDlg)) @@ -1109,7 +1109,7 @@ BoxAutoPopUp (char *buf) SetWidgetText(&boxOptions[0], newText, InputBoxDlg); if(shellUp[InputBoxDlg]) HardSetFocus (&boxOptions[0]); //why??? } else icsText = buf; // box did not exist: make sure it pops up with char in it - InputBoxPopup(); + ICSInputBoxPopUp(); } else PopUpMoveDialog(*buf); } @@ -1146,7 +1146,7 @@ InstallOK (int n) { PopDown(TransientDlg); // early popdown, to allow FreezeUI to instate grab if(engineChoice[0] == engineNr[0][0]) Load(&first, 0); else Load(&second, 1); - return 1; + return FALSE; // no double PopDown! } static Option installOptions[] = {