summaryrefslogtreecommitdiff
path: root/Mac
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>2004-07-15 13:21:16 +0000
committerJack Jansen <jack.jansen@cwi.nl>2004-07-15 13:21:16 +0000
commit881d795d534e4c680bdf3d328bfef73235e06bd8 (patch)
tree73e6fc25a7ce31d41530ae3a44306b2fbc2b118b /Mac
parentf9b9e26a3ecba060d113d84c60ec58f7c2e584ca (diff)
downloadcpython-881d795d534e4c680bdf3d328bfef73235e06bd8.tar.gz
Get rid of incorrect use of OSAGetCurrentDialect. Fixes #884085.
Diffstat (limited to 'Mac')
-rw-r--r--Mac/Modules/OSATerminology.c4
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,