projects
/
u
/
mdw
/
putty
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add the ability to close sessions. This adds *_free() functions to most
[u/mdw/putty]
/
mac
/
mac.c
diff --git
a/mac/mac.c
b/mac/mac.c
index
ace079c
..
52258c3
100644
(file)
--- a/
mac/mac.c
+++ b/
mac/mac.c
@@
-1,4
+1,4
@@
-/* $Id: mac.c,v 1.3
1 2003/01/15 22:37:58
ben Exp $ */
+/* $Id: mac.c,v 1.3
2 2003/01/15 23:30:21
ben Exp $ */
/*
* Copyright (c) 1999 Ben Harris
* All rights reserved.
/*
* Copyright (c) 1999 Ben Harris
* All rights reserved.
@@
-541,18
+541,15
@@
static void mac_closewindow(WindowPtr window) {
CloseDeskAcc(((WindowPeek)window)->windowKind);
break;
case wTerminal:
CloseDeskAcc(((WindowPeek)window)->windowKind);
break;
case wTerminal:
- /* FIXME: end session and stuff */
+ mac_closeterm(window);
break;
case wAbout:
windows.about = NULL;
break;
case wAbout:
windows.about = NULL;
-
CloseWindow
(window);
+
DisposeDialog
(window);
break;
case wLicence:
windows.licence = NULL;
break;
case wLicence:
windows.licence = NULL;
- CloseWindow(window);
- break;
- default:
- CloseWindow(window);
+ DisposeWindow(window);
break;
}
}
break;
}
}