Width is always provided
This commit is contained in:
parent
2128d6465c
commit
894c5d5335
@ -3172,8 +3172,8 @@ _draw_lines(ImagingDrawObject *self, PyObject *args) {
|
||||
|
||||
PyObject *data;
|
||||
int ink;
|
||||
int width = 0;
|
||||
if (!PyArg_ParseTuple(args, "Oi|i", &data, &ink, &width)) {
|
||||
int width;
|
||||
if (!PyArg_ParseTuple(args, "Oii", &data, &ink, &width)) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user