summaryrefslogtreecommitdiffstats
path: root/Mac/Modules
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>1999-12-23 23:06:07 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>1999-12-23 23:06:07 (GMT)
commitb9247d37ba415fe7a21bcbc086af35971f612712 (patch)
tree4f5dfa5a7bb27cdd7f13df9dfbddb1d737acd1b7 /Mac/Modules
parent6dc2b57c73bb12e8ce05002cc2e8582dd4229965 (diff)
downloadcpython-b9247d37ba415fe7a21bcbc086af35971f612712.zip
cpython-b9247d37ba415fe7a21bcbc086af35971f612712.tar.gz
cpython-b9247d37ba415fe7a21bcbc086af35971f612712.tar.bz2
Oops, forgot & in ParseTuple argument in ControlGetDataHandle.
Diffstat (limited to 'Mac/Modules')
-rw-r--r--Mac/Modules/ctl/Ctlmodule.c2
-rw-r--r--Mac/Modules/ctl/ctlsupport.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/Mac/Modules/ctl/Ctlmodule.c b/Mac/Modules/ctl/Ctlmodule.c
index 3648a55..461d945 100644
--- a/Mac/Modules/ctl/Ctlmodule.c
+++ b/Mac/Modules/ctl/Ctlmodule.c
@@ -1196,7 +1196,7 @@ static PyObject *CtlObj_SetControlDataHandle(_self, _args)
if (!PyArg_ParseTuple(_args, "hO&O&",
&inPart,
PyMac_GetOSType, &inTagName,
- OptResObj_Convert, buffer))
+ OptResObj_Convert, &buffer))
return NULL;
_err = SetControlData(_self->ob_itself,
diff --git a/Mac/Modules/ctl/ctlsupport.py b/Mac/Modules/ctl/ctlsupport.py
index 8ac9d5c..9829dcd 100644
--- a/Mac/Modules/ctl/ctlsupport.py
+++ b/Mac/Modules/ctl/ctlsupport.py
@@ -343,7 +343,7 @@ Handle buffer;
if (!PyArg_ParseTuple(_args, "hO&O&",
&inPart,
PyMac_GetOSType, &inTagName,
- OptResObj_Convert, buffer))
+ OptResObj_Convert, &buffer))
return NULL;
_err = SetControlData(_self->ob_itself,