Commit a6039ba2 authored by Jack Jansen's avatar Jack Jansen

Oops, WaitNextEvent was hand-coded, and it also needed the h->H conversion for...

Oops, WaitNextEvent was hand-coded, and it also needed the h->H conversion for PyArg_ParseTuple format strings.
parent e17a3028
......@@ -328,7 +328,7 @@ static PyObject *Evt_WaitNextEvent(_self, _args)
UInt32 sleep;
Handle mouseregion = (Handle)0;
if (!PyArg_ParseTuple(_args, "hl|O&",
if (!PyArg_ParseTuple(_args, "Hl|O&",
&eventMask,
&sleep,
OptResObj_Convert, &mouseregion))
......
......@@ -79,7 +79,7 @@ EventRecord theEvent;
UInt32 sleep;
Handle mouseregion = (Handle)0;
if (!PyArg_ParseTuple(_args, "hl|O&",
if (!PyArg_ParseTuple(_args, "Hl|O&",
&eventMask,
&sleep,
OptResObj_Convert, &mouseregion))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment