Replaced OpenResFile calls with FSpOpenResFile calls (which are carbon-compatible).

This commit is contained in:
Jack Jansen 2000-06-20 21:59:25 +00:00
parent 3c0d013db4
commit d13c385462
14 changed files with 21 additions and 21 deletions

View file

@ -34,7 +34,7 @@ def mergecfmfiles(srclist, dst, architecture = 'fat'):
dst = dst.as_pathname()
dstfile = open(dst, "wb")
rf = Res.OpenResFile(dst)
rf = Res.FSpOpenResFile(dst, 3)
try:
dstcfrg = CfrgResource()
for src in srclist:
@ -64,7 +64,7 @@ class CfrgResource:
self.path = path
if path is not None and os.path.exists(path):
currentresref = Res.CurResFile()
resref = Res.OpenResFile(path)
resref = Res.FSpOpenResFile(path, 1)
Res.UseResFile(resref)
try:
try: