mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-25 01:38:02 +02:00
Fix #5129
This commit is contained in:
@@ -129,8 +129,8 @@ pointer_shape(PyObject *shape_name) {
|
|||||||
|
|
||||||
static int
|
static int
|
||||||
macos_colorspace(PyObject *csname) {
|
macos_colorspace(PyObject *csname) {
|
||||||
if (PyUnicode_CompareWithASCIIString(csname, "srgb")) return 1;
|
if (PyUnicode_CompareWithASCIIString(csname, "srgb") == 0) return 1;
|
||||||
if (PyUnicode_CompareWithASCIIString(csname, "displayp3")) return 2;
|
if (PyUnicode_CompareWithASCIIString(csname, "displayp3") == 0) return 2;
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user