projects
/
u
/
mdw
/
putty
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Don't try to call TerminateUnicodeConverter() in the CFM world: it isn't there.
[u/mdw/putty]
/
mac
/
mac.c
diff --git
a/mac/mac.c
b/mac/mac.c
index
779792f
..
54ed35c
100644
(file)
--- a/
mac/mac.c
+++ b/
mac/mac.c
@@
-1,4
+1,4
@@
-/* $Id: mac.c,v 1.
7 2002/12/13 00:02:48
ben Exp $ */
+/* $Id: mac.c,v 1.
9 2002/12/29 19:14:56
ben Exp $ */
/*
* Copyright (c) 1999 Ben Harris
* All rights reserved.
/*
* Copyright (c) 1999 Ben Harris
* All rights reserved.
@@
-456,11
+456,6
@@
static void mac_openabout(void) {
}
static void mac_openlicence(void) {
}
static void mac_openlicence(void) {
- DialogItemType itemtype;
- Handle item;
- VersRecHndl vers;
- Rect box;
- StringPtr longvers;
if (windows.licence)
SelectWindow(windows.licence);
if (windows.licence)
SelectWindow(windows.licence);
@@
-564,8
+559,10
@@
static void mac_adjustcursor(RgnHandle cursrgn) {
static void mac_shutdown(void) {
static void mac_shutdown(void) {
+#if !TARGET_RT_MAC_CFM
if (mac_gestalts.encvvers != 0)
TerminateUnicodeConverter();
if (mac_gestalts.encvvers != 0)
TerminateUnicodeConverter();
+#endif
exit(0);
}
exit(0);
}