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:
Jack Jansen 2001-02-28 15:54:18 +00:00
parent f7fb3e6435
commit c6cecf55d1
1 changed files with 1 additions and 0 deletions

View File

@ -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 ) {