From 790d630d178a1ce61da2721c99067236dfa68f49 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sat, 6 Apr 2019 09:10:16 +0530 Subject: [PATCH] typo --- kitty/glfw.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kitty/glfw.c b/kitty/glfw.c index c302c96ec..1f2dbfa9a 100644 --- a/kitty/glfw.c +++ b/kitty/glfw.c @@ -1031,8 +1031,8 @@ set_custom_cursor(PyObject *self UNUSED, PyObject *args) { } #define CASE(which, dest) {\ case which: \ - standard_cursor = glfwCreateCursor(gimages, x, y, count); \ - if (standard_cursor == NULL) { PyErr_SetString(PyExc_ValueError, "Failed to create custom cursor"); return NULL; } \ + dest = glfwCreateCursor(gimages, x, y, count); \ + if (dest == NULL) { PyErr_SetString(PyExc_ValueError, "Failed to create custom cursor"); return NULL; } \ break; \ } switch(shape) {