summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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"