Commit d0bfc8b8 authored by Jack Jansen's avatar Jack Jansen

An applet with Popt and GUSI preferences but without alis resource

didn't work, because the resource file chain was incomplete when we
tried to open the preference file. Fixed.
parent db8d4af8
......@@ -217,6 +217,7 @@ PyMac_GetPythonDir()
/* First look for an override in the application file */
UseResFile(PyMac_AppRefNum);
handle = (AliasHandle)Get1Resource('alis', PYTHONHOMEOVERRIDE_ID);
UseResFile(oldrh);
if ( handle != NULL ) {
homerh = PyMac_AppRefNum;
} else {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment