From 6473c237c05da242ec970e2f36b6e23bc64dbdbb Mon Sep 17 00:00:00 2001 From: Andrew Murray Date: Sat, 28 Dec 2019 23:42:03 +1100 Subject: [PATCH] Fixed typo --- src/display.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/display.c b/src/display.c index d3930f5a5..21869b26e 100644 --- a/src/display.c +++ b/src/display.c @@ -887,7 +887,7 @@ PyImaging_GrabScreenX11(PyObject* self, PyObject* args) buffer = PyBytes_FromStringAndSize((char*)xcb_get_image_data(reply), xcb_get_image_data_length(reply)); } else { - PyErr_Format(PyExc_IOError, "usupported bit depth: %i", reply->depth); + PyErr_Format(PyExc_IOError, "unsupported bit depth: %i", reply->depth); } free(reply);