summaryrefslogtreecommitdiffstats
path: root/mac/tkMacMenu.c
diff options
context:
space:
mode:
Diffstat (limited to 'mac/tkMacMenu.c')
-rw-r--r--mac/tkMacMenu.c2
1 files changed, 1 insertions, 1 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);