diff options
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/_tkinter.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Modules/_tkinter.c b/Modules/_tkinter.c index 049b292..4eb1001 100644 --- a/Modules/_tkinter.c +++ b/Modules/_tkinter.c @@ -1610,14 +1610,14 @@ static FSSpec library_fss; ** resources. */ OSErr pascal -init_tkinter_shlib(InitBlockPtr data) +init_tkinter_shlib(CFragInitBlockPtr data) { __initialize(); if ( data == nil ) return noErr; - if ( data->fragLocator.where == kOnDiskFlat ) { + if ( data->fragLocator.where == kDataForkCFragLocator ) { library_fss = *data->fragLocator.u.onDisk.fileSpec; loaded_from_shlib = 1; - } else if ( data->fragLocator.where == kOnDiskSegmented ) { + } else if ( data->fragLocator.where == kResourceCFragLocator ) { library_fss = *data->fragLocator.u.inSegs.fileSpec; loaded_from_shlib = 1; } |