From c6cecf55d182344c316999acb8703293439319b7 Mon Sep 17 00:00:00 2001 From: Jack Jansen Date: Wed, 28 Feb 2001 15:54:18 +0000 Subject: Reset the resource file chain before calling PyMac_OpenPrefFile. I'm not sure why this wasn't a problem before... --- Mac/Python/gusiconfig.cpp | 1 + 1 file changed, 1 insertion(+) 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 @@ 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 ) { -- cgit v0.12