From b9247d37ba415fe7a21bcbc086af35971f612712 Mon Sep 17 00:00:00 2001 From: Jack Jansen Date: Thu, 23 Dec 1999 23:06:07 +0000 Subject: Oops, forgot & in ParseTuple argument in ControlGetDataHandle. --- Mac/Modules/ctl/Ctlmodule.c | 2 +- Mac/Modules/ctl/ctlsupport.py | 2 +- 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, -- cgit v0.12