Oops, forgot & in ParseTuple argument in ControlGetDataHandle.
This commit is contained in:
parent
6dc2b57c73
commit
b9247d37ba
|
@ -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,
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue