Another ParseTuple mismatch

This commit is contained in:
Kovid Goyal 2018-04-20 18:29:55 +05:30
parent b6660353cd
commit 757983b729
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -1633,7 +1633,7 @@ static PyObject*
start_selection(Screen *self, PyObject *args) {
unsigned int x, y;
int rectangle_select = 0, extend_mode = EXTEND_CELL;
if (!PyArg_ParseTuple(args, "II|pp", &x, &y, &rectangle_select, &extend_mode)) return NULL;
if (!PyArg_ParseTuple(args, "II|pi", &x, &y, &rectangle_select, &extend_mode)) return NULL;
screen_start_selection(self, x, y, rectangle_select, extend_mode);
Py_RETURN_NONE;
}