diff --git a/glfw/cocoa_window.m b/glfw/cocoa_window.m index 847000345..8c15b36a1 100644 --- a/glfw/cocoa_window.m +++ b/glfw/cocoa_window.m @@ -692,8 +692,8 @@ static GLFWapplicationshouldhandlereopenfun handle_reopen_callback = NULL; [window->context.nsgl.object update]; } @catch (NSException *e) { _glfwInputError(GLFW_PLATFORM_ERROR, - "Failed to update NSGL Context object with error: %s (%s)", - [[e name] UTF8String], [[e reason] UTF8String]); + "Failed to update NSGL Context object with error: %s (%s)", + [[e name] UTF8String], [[e reason] UTF8String]); } } diff --git a/glfw/wl_window.c b/glfw/wl_window.c index 7ff5c36cb..a88648b84 100644 --- a/glfw/wl_window.c +++ b/glfw/wl_window.c @@ -1836,7 +1836,7 @@ static inline bool _glfwEnsureDataDevice(void) { if (!_glfw.wl.dataDevice) { _glfwInputError(GLFW_PLATFORM_ERROR, - "Wayland: Cannot use clipboard, failed to create data device"); + "Wayland: Cannot use clipboard, failed to create data device"); return false; } }