Fix #5129
This commit is contained in:
parent
ea4751eae5
commit
cb55878efd
@ -129,8 +129,8 @@ pointer_shape(PyObject *shape_name) {
|
||||
|
||||
static int
|
||||
macos_colorspace(PyObject *csname) {
|
||||
if (PyUnicode_CompareWithASCIIString(csname, "srgb")) return 1;
|
||||
if (PyUnicode_CompareWithASCIIString(csname, "displayp3")) return 2;
|
||||
if (PyUnicode_CompareWithASCIIString(csname, "srgb") == 0) return 1;
|
||||
if (PyUnicode_CompareWithASCIIString(csname, "displayp3") == 0) return 2;
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user