-/* $Id: mac.c,v 1.30 2003/01/15 20:47:50 jacob Exp $ */
+/* $Id: mac.c,v 1.32 2003/01/15 23:30:21 ben Exp $ */
/*
* Copyright (c) 1999 Ben Harris
* All rights reserved.
default_protocol = be_default_protocol;
/* Find the appropriate default port. */
{
- default_port = 0; /* illegal */
int i;
+ default_port = 0; /* illegal */
for (i = 0; backends[i].backend != NULL; i++)
if (backends[i].protocol == default_protocol) {
default_port = backends[i].backend->default_port;
CloseDeskAcc(((WindowPeek)window)->windowKind);
break;
case wTerminal:
- /* FIXME: end session and stuff */
+ mac_closeterm(window);
break;
case wAbout:
windows.about = NULL;
- CloseWindow(window);
+ DisposeDialog(window);
break;
case wLicence:
windows.licence = NULL;
- CloseWindow(window);
- break;
- default:
- CloseWindow(window);
+ DisposeWindow(window);
break;
}
}