Reset the resource file chain before calling PyMac_OpenPrefFile. I'm not sure why this wasn't a problem before...
This commit is contained in:
parent
f7fb3e6435
commit
c6cecf55d1
|
@ -96,6 +96,7 @@ extern "C" void GUSISetupConfig()
|
|||
resource_id = GUSIOPTIONSOVERRIDE_ID;
|
||||
} else {
|
||||
/* Next try normal resource from preference file */
|
||||
UseResFile(oldrh);
|
||||
prefrh = PyMac_OpenPrefFile();
|
||||
h = Get1Resource('GU\267I', GUSIOPTIONS_ID);
|
||||
if ( h ) {
|
||||
|
|
Loading…
Reference in New Issue