From 75694501cae16b6a688bba2e6fb3fd1f0d3ba22f Mon Sep 17 00:00:00 2001 From: Jack Jansen Date: Thu, 15 Jul 2004 13:21:16 +0000 Subject: Get rid of incorrect use of OSAGetCurrentDialect. Fixes #884085. --- Mac/Modules/OSATerminology.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/Mac/Modules/OSATerminology.c b/Mac/Modules/OSATerminology.c index 9de0871..85ad425 100644 --- a/Mac/Modules/OSATerminology.c +++ b/Mac/Modules/OSATerminology.c @@ -28,8 +28,6 @@ PyOSA_GetAppTerminology(PyObject* self, PyObject* args) defaultComponent = OpenDefaultComponent (kOSAComponentType, 'ascr'); err = GetComponentInstanceError (defaultComponent); if (err) return PyMac_Error(err); - err = OSAGetCurrentDialect(defaultComponent, &defaultTerminology); - if (err) return PyMac_Error(err); err = OSAGetAppTerminology ( defaultComponent, modeFlags, @@ -59,8 +57,6 @@ PyOSA_GetSysTerminology(PyObject* self, PyObject* args) defaultComponent = OpenDefaultComponent (kOSAComponentType, 'ascr'); err = GetComponentInstanceError (defaultComponent); if (err) return PyMac_Error(err); - err = OSAGetCurrentDialect(defaultComponent, &defaultTerminology); - if (err) return PyMac_Error(err); err = OSAGetAppTerminology ( defaultComponent, modeFlags, -- cgit v0.12