Width is always provided

This commit is contained in:
Andrew Murray 2026-05-07 19:48:08 +10:00
parent 2128d6465c
commit 894c5d5335

View File

@ -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;
}