diff options
| author | Jack Jansen <jack.jansen@cwi.nl> | 2001-02-28 15:54:18 +0000 |
|---|---|---|
| committer | Jack Jansen <jack.jansen@cwi.nl> | 2001-02-28 15:54:18 +0000 |
| commit | c6cecf55d182344c316999acb8703293439319b7 (patch) | |
| tree | 02a9f10eb86ecbfc9bbafb474c84ae85de0b6d29 /Mac/Python/gusiconfig.cpp | |
| parent | f7fb3e6435035376af978b1d4249a744125aac8f (diff) | |
| download | cpython-git-c6cecf55d182344c316999acb8703293439319b7.tar.gz | |
Reset the resource file chain before calling PyMac_OpenPrefFile. I'm not sure why this wasn't a problem before...
Diffstat (limited to 'Mac/Python/gusiconfig.cpp')
| -rw-r--r-- | Mac/Python/gusiconfig.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Mac/Python/gusiconfig.cpp b/Mac/Python/gusiconfig.cpp index 59b55e0bf0..ec6b57d578 100644 --- a/Mac/Python/gusiconfig.cpp +++ b/Mac/Python/gusiconfig.cpp @@ -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 ) { |
