Ensure key name is null terminated

This commit is contained in:
Kovid Goyal
2019-12-28 08:33:13 +05:30
parent 286f3630d7
commit c8f20d0edf
4 changed files with 3 additions and 3 deletions

2
kitty/glfw-wrapper.h generated
View File

@@ -2083,7 +2083,7 @@ typedef GLFWapplicationwillfinishlaunchingfun (*glfwSetApplicationWillFinishLaun
glfwSetApplicationWillFinishLaunching_func glfwSetApplicationWillFinishLaunching_impl;
#define glfwSetApplicationWillFinishLaunching glfwSetApplicationWillFinishLaunching_impl
typedef void (*glfwGetCocoaKeyEquivalent_func)(int, int, char, int*);
typedef void (*glfwGetCocoaKeyEquivalent_func)(int, int, char[32], int*);
glfwGetCocoaKeyEquivalent_func glfwGetCocoaKeyEquivalent_impl;
#define glfwGetCocoaKeyEquivalent glfwGetCocoaKeyEquivalent_impl