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
1 changed files with 0 additions and 4 deletions

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,