Commit 69ea4b4d authored by Serhiy Storchaka's avatar Serhiy Storchaka Committed by GitHub

Fix bpo-27666 backporting error in _cursesmodule.c (#4305)

parent 4b544aad
......@@ -646,10 +646,10 @@ PyCursesWindow_Box(PyCursesWindowObject *self, PyObject *args)
default:
if (!PyArg_ParseTuple(args,"OO;verch,horch", &temp1, &temp2))
return NULL;
if (!PyCurses_ConvertToChtype(self, temp1, &ch1)) {
if (!PyCurses_ConvertToChtype(temp1, &ch1)) {
return NULL;
}
if (!PyCurses_ConvertToChtype(self, temp2, &ch2)) {
if (!PyCurses_ConvertToChtype(temp2, &ch2)) {
return NULL;
}
}
......
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