diff options
Diffstat (limited to 'Mac/Modules/res/resedit.py')
-rw-r--r-- | Mac/Modules/res/resedit.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Mac/Modules/res/resedit.py b/Mac/Modules/res/resedit.py index 1684870..fce0bd1 100644 --- a/Mac/Modules/res/resedit.py +++ b/Mac/Modules/res/resedit.py @@ -58,7 +58,8 @@ functions.append(f) # Convert resources to other things. as_xxx_body = """ -return %sObj_New((%sHandle)_self->ob_itself); +_res = %sObj_New((%sHandle)_self->ob_itself); +return _res; """ def genresconverter(longname, shortname): |