Merge branch 'glfw_upstream' of https://github.com/Luflosi/kitty

This commit is contained in:
Kovid Goyal
2019-12-19 07:56:04 +05:30

View File

@@ -1498,7 +1498,7 @@ void _glfwPlatformDestroyWindow(_GLFWwindow* window)
window->ns.object = nil;
}
void _glfwPlatformSetWindowTitle(_GLFWwindow* window UNUSED, const char *title)
void _glfwPlatformSetWindowTitle(_GLFWwindow* window UNUSED, const char* title)
{
NSString* string = @(title);
[window->ns.object setTitle:string];