commit | c6cecf55d182344c316999acb8703293439319b7 | [log] [tgz] |
---|---|---|
author | Jack Jansen <jack.jansen@cwi.nl> | Wed Feb 28 15:54:18 2001 +0000 |
committer | Jack Jansen <jack.jansen@cwi.nl> | Wed Feb 28 15:54:18 2001 +0000 |
tree | 02a9f10eb86ecbfc9bbafb474c84ae85de0b6d29 | |
parent | f7fb3e6435035376af978b1d4249a744125aac8f [diff] |
Reset the resource file chain before calling PyMac_OpenPrefFile. I'm not sure why this wasn't a problem before...
diff --git a/Mac/Python/gusiconfig.cpp b/Mac/Python/gusiconfig.cpp index 59b55e0..ec6b57d 100644 --- a/Mac/Python/gusiconfig.cpp +++ b/Mac/Python/gusiconfig.cpp
@@ -96,6 +96,7 @@ 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 ) {