This commit is contained in:
Kovid Goyal 2022-05-26 19:42:20 +05:30
parent ea4751eae5
commit cb55878efd
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

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