summaryrefslogtreecommitdiffstats
path: root/Mac/Demo/PICTbrowse/PICTbrowse2.py
diff options
context:
space:
mode:
Diffstat (limited to 'Mac/Demo/PICTbrowse/PICTbrowse2.py')
-rw-r--r--Mac/Demo/PICTbrowse/PICTbrowse2.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Mac/Demo/PICTbrowse/PICTbrowse2.py b/Mac/Demo/PICTbrowse/PICTbrowse2.py
index 31169ee..c78960c 100644
--- a/Mac/Demo/PICTbrowse/PICTbrowse2.py
+++ b/Mac/Demo/PICTbrowse/PICTbrowse2.py
@@ -29,7 +29,7 @@ def main():
dummy = Res.GetResource('DLOG', ID_MAIN)
except Res.Error:
try:
- Res.OpenResFile("PICTbrowse.rsrc")
+ Res.FSpOpenResFile("PICTbrowse.rsrc", 1)
except Res.Error, arg:
EasyDialogs.Message("Cannot open PICTbrowse.rsrc: "+arg[1])
sys.exit(1)