From: Jack Jansen Date: Wed, 28 Feb 2001 15:54:18 +0000 (+0000) Subject: Reset the resource file chain before calling PyMac_OpenPrefFile. I'm not sure why... X-Git-Tag: v2.1b1~132 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c6cecf55d182344c316999acb8703293439319b7;p=thirdparty%2FPython%2Fcpython.git 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 59b55e0bf0f2..ec6b57d5786f 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 ) {