diff options
author | Jack Jansen <jack.jansen@cwi.nl> | 2004-07-15 13:21:16 +0000 |
---|---|---|
committer | Jack Jansen <jack.jansen@cwi.nl> | 2004-07-15 13:21:16 +0000 |
commit | 881d795d534e4c680bdf3d328bfef73235e06bd8 (patch) | |
tree | 73e6fc25a7ce31d41530ae3a44306b2fbc2b118b /Mac | |
parent | f9b9e26a3ecba060d113d84c60ec58f7c2e584ca (diff) | |
download | cpython-881d795d534e4c680bdf3d328bfef73235e06bd8.tar.gz |
Get rid of incorrect use of OSAGetCurrentDialect. Fixes #884085.
Diffstat (limited to 'Mac')
-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 9de087122e..85ad425717 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, |