diff Mac/Python/gusiconfig.cpp @ 16836:f29c766864cb legacy-trunk

Reset the resource file chain before calling PyMac_OpenPrefFile. I'm not sure why this wasn't a problem before...
author Jack Jansen <jack.jansen@cwi.nl>
date Wed, 28 Feb 2001 15:54:18 +0000
parents 67c8abd21025
children
line wrap: on
line diff
--- a/Mac/Python/gusiconfig.cpp	Wed Feb 28 15:53:18 2001 +0000
+++ b/Mac/Python/gusiconfig.cpp	Wed Feb 28 15:54:18 2001 +0000
@@ -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 ) {