]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Restore to ANSI C.
authorMichael W. Hudson <mwh@python.net>
Sat, 9 Nov 2002 14:47:18 +0000 (14:47 +0000)
committerMichael W. Hudson <mwh@python.net>
Sat, 9 Nov 2002 14:47:18 +0000 (14:47 +0000)
Python/mactoolboxglue.c

index dd42f07d1e6e409858d7026d1c3e30c3ee5e2576..fc1d1afde157e4bc12d0654968fa1f9d0adcdb0d 100644 (file)
@@ -90,8 +90,8 @@ char *PyMac_StrError(int err)
                ** Estr resources. We ignore all errors. We also try
                ** this only once.
                */
-               errors_loaded = 1;
                PyObject *m, *rv;
+               errors_loaded = 1;
                
                m = PyImport_ImportModule("macresource");
                if (!m) {
@@ -603,4 +603,4 @@ GLUE_CONVERT(CFURLRef, CFURLRefObj_Convert, "Carbon.CF")
 GLUE_CONVERT(CFURLRef, OptionalCFURLRefObj_Convert, "Carbon.CF")
 GLUE_NEW(CFURLRef, CFURLRefObj_New, "Carbon.CF")
 
-#endif /* USE_TOOLBOX_OBJECT_GLUE */
\ No newline at end of file
+#endif /* USE_TOOLBOX_OBJECT_GLUE */