Get rid of incorrect use of OSAGetCurrentDialect. Fixes #884085.
This commit is contained in:
parent
3fc2fde7ff
commit
75694501ca
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue