mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-06-30 18:03:07 +03:00
Fixed typo
This commit is contained in:
parent
228613017b
commit
6473c237c0
|
@ -887,7 +887,7 @@ PyImaging_GrabScreenX11(PyObject* self, PyObject* args)
|
||||||
buffer = PyBytes_FromStringAndSize((char*)xcb_get_image_data(reply),
|
buffer = PyBytes_FromStringAndSize((char*)xcb_get_image_data(reply),
|
||||||
xcb_get_image_data_length(reply));
|
xcb_get_image_data_length(reply));
|
||||||
} else {
|
} else {
|
||||||
PyErr_Format(PyExc_IOError, "usupported bit depth: %i", reply->depth);
|
PyErr_Format(PyExc_IOError, "unsupported bit depth: %i", reply->depth);
|
||||||
}
|
}
|
||||||
|
|
||||||
free(reply);
|
free(reply);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user