From 90a8ba37898fd914ee6fa1f7469467ea9938ad88 Mon Sep 17 00:00:00 2001 From: Luflosi Date: Thu, 30 Jan 2020 12:36:32 +0100 Subject: [PATCH] Fix typo in comment --- glfw/wl_window.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/glfw/wl_window.c b/glfw/wl_window.c index 8d32cf840..542c708d2 100644 --- a/glfw/wl_window.c +++ b/glfw/wl_window.c @@ -959,7 +959,7 @@ void _glfwPlatformSetWindowTitle(_GLFWwindow* window, const char* title) free(window->wl.title); window->wl.title = _glfw_strdup(title); // Wayland cannot handle requests larger than ~8200 bytes. Sending - // on causes an abort(). Since titles this large are meaningless anyway + // one causes an abort(). Since titles this large are meaningless anyway // ensure they do not happen. One should really truncate ensuring valid UTF-8 // but I cant be bothered. if (title && strnlen(title, 2048) >= 2048) window->wl.title[2048] = 0;