mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +00:00
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
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue