Some DialogOK functions ordered an early PopDown themselves. This,
however, resulted in PopDown being called twice when they returned TRUE.
This interfered with the new system for allowing multiple instances of
the same dialog. So these functions are now fixed to suppress the
standard PopDown by always returning FALSE.
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[] = {
{
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[] = {