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:
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
Block a user