diff options
author | Jack Jansen <jack.jansen@cwi.nl> | 2004-07-15 13:21:16 (GMT) |
---|---|---|
committer | Jack Jansen <jack.jansen@cwi.nl> | 2004-07-15 13:21:16 (GMT) |
commit | 75694501cae16b6a688bba2e6fb3fd1f0d3ba22f (patch) | |
tree | cb828b5a385bba65c2e77e533923f14bb0478269 /Mac/Modules/OSATerminology.c | |
parent | 3fc2fde7ffc7f94438a212592879e57520f01247 (diff) | |
download | cpython-75694501cae16b6a688bba2e6fb3fd1f0d3ba22f.zip cpython-75694501cae16b6a688bba2e6fb3fd1f0d3ba22f.tar.gz cpython-75694501cae16b6a688bba2e6fb3fd1f0d3ba22f.tar.bz2 |
Get rid of incorrect use of OSAGetCurrentDialect. Fixes #884085.
Diffstat (limited to 'Mac/Modules/OSATerminology.c')
-rw-r--r-- | Mac/Modules/OSATerminology.c | 4 |
1 files changed, 0 insertions, 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, |