summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwelch <welch>1998-08-12 11:14:35 (GMT)
committerwelch <welch>1998-08-12 11:14:35 (GMT)
commitc08f23d12b1cbf989ea8550d6afdda7025fe272a (patch)
treea26fc7862e2cec390eeca75ef09c806622f0243a
parentef0d48bcd034772ca201c4298657775c6835a3c1 (diff)
downloadtk-c08f23d12b1cbf989ea8550d6afdda7025fe272a.zip
tk-c08f23d12b1cbf989ea8550d6afdda7025fe272a.tar.gz
tk-c08f23d12b1cbf989ea8550d6afdda7025fe272a.tar.bz2
Updates from Jim Ingham
-rw-r--r--mac/tkMacMenu.c2
-rw-r--r--mac/tkMacMenu.r2
2 files changed, 2 insertions, 2 deletions
diff --git a/mac/tkMacMenu.c b/mac/tkMacMenu.c
index 3d58597..51fc355 100644
--- a/mac/tkMacMenu.c
+++ b/mac/tkMacMenu.c
@@ -3990,7 +3990,7 @@ FixMDEF(void)
Handle MDEFHandle = GetResource('MDEF', 591);
Handle SICNHandle = GetResource('SICN', SICN_RESOURCE_NUMBER);
if ((MDEFHandle != NULL) && (SICNHandle != NULL)) {
- MoveHHi(MDEFHandle);
+ HLock(MDEFHandle);
HLock(MDEFHandle);
menuDefProc = TkNewMenuDefProc(MenuDefProc);
memmove((void *) (((long) (*MDEFHandle)) + 0x24), &menuDefProc, 4);
diff --git a/mac/tkMacMenu.r b/mac/tkMacMenu.r
index 9952cea..5061582 100644
--- a/mac/tkMacMenu.r
+++ b/mac/tkMacMenu.r
@@ -20,7 +20,7 @@
* Icons used in menu items.
*/
-resource 'SICN' (128, preload) {
+resource 'SICN' (128, preload, locked) {
{ /* array: 7 elements */
/* [1] */
$"0000 0000 8000 C000 E000 F000 F800 FC00"