summaryrefslogtreecommitdiffstats
path: root/Mac/Demo/PICTbrowse/PICTbrowse.py
diff options
context:
space:
mode:
Diffstat (limited to 'Mac/Demo/PICTbrowse/PICTbrowse.py')
-rw-r--r--Mac/Demo/PICTbrowse/PICTbrowse.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Mac/Demo/PICTbrowse/PICTbrowse.py b/Mac/Demo/PICTbrowse/PICTbrowse.py
index 653dd5d..0771991 100644
--- a/Mac/Demo/PICTbrowse/PICTbrowse.py
+++ b/Mac/Demo/PICTbrowse/PICTbrowse.py
@@ -25,7 +25,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)