summaryrefslogtreecommitdiffstats
path: root/Mac/Modules/win/Winmodule.c
diff options
context:
space:
mode:
Diffstat (limited to 'Mac/Modules/win/Winmodule.c')
-rw-r--r--Mac/Modules/win/Winmodule.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/Mac/Modules/win/Winmodule.c b/Mac/Modules/win/Winmodule.c
index ffd8b0b..2ad1d60 100644
--- a/Mac/Modules/win/Winmodule.c
+++ b/Mac/Modules/win/Winmodule.c
@@ -525,7 +525,7 @@ static PyObject *WinObj_GetWindowRegion(_self, _args)
OSStatus _err;
WindowRegionCode inRegionCode;
RgnHandle ioWinRgn;
- if (!PyArg_ParseTuple(_args, "hO&",
+ if (!PyArg_ParseTuple(_args, "HO&",
&inRegionCode,
ResObj_Convert, &ioWinRgn))
return NULL;
@@ -1110,7 +1110,7 @@ static PyObject *WinObj_SetWindowBounds(_self, _args)
OSStatus _err;
WindowRegionCode regionCode;
Rect globalBounds;
- if (!PyArg_ParseTuple(_args, "hO&",
+ if (!PyArg_ParseTuple(_args, "HO&",
&regionCode,
PyMac_GetRect, &globalBounds))
return NULL;
@@ -1131,7 +1131,7 @@ static PyObject *WinObj_GetWindowBounds(_self, _args)
OSStatus _err;
WindowRegionCode regionCode;
Rect globalBounds;
- if (!PyArg_ParseTuple(_args, "h",
+ if (!PyArg_ParseTuple(_args, "H",
&regionCode))
return NULL;
_err = GetWindowBounds(_self->ob_itself,