0
0
mirror of https://github.com/python/cpython.git synced 2024-11-28 08:20:55 +01:00

Get rid of incorrect use of OSAGetCurrentDialect. Fixes #884085.

This commit is contained in:
Jack Jansen 2004-07-15 13:21:16 +00:00
parent 3fc2fde7ff
commit 75694501ca

View File

@ -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,