diff --git a/glfw/cocoa_monitor.m b/glfw/cocoa_monitor.m index bc55b8b8b..dab1e03b1 100644 --- a/glfw/cocoa_monitor.m +++ b/glfw/cocoa_monitor.m @@ -220,7 +220,7 @@ GLFWbool refreshMonitorScreen(_GLFWmonitor* monitor) if (monitor->ns.screen) return GLFW_TRUE; - for (NSScreen* screen in [NSScreen screens]) + for (NSScreen* screen in [NSScreen screens]) { NSNumber* displayID = [screen deviceDescription][@"NSScreenNumber"]; @@ -234,7 +234,7 @@ GLFWbool refreshMonitorScreen(_GLFWmonitor* monitor) } } - _glfwInputError(GLFW_PLATFORM_ERROR, "Cocoa: Failed to find a screen for monitor"); + _glfwInputError(GLFW_PLATFORM_ERROR, "Cocoa: Failed to find a screen for monitor"); return GLFW_FALSE; }