From 0fc93118f2ee60b563809abf2df4dd8d2731e546 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Fri, 29 Jan 2021 12:45:22 +0530 Subject: [PATCH] Make the error message when failing to get monitor display name more informative --- glfw/cocoa_monitor.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/glfw/cocoa_monitor.m b/glfw/cocoa_monitor.m index 042ac8b7e..76bb92980 100644 --- a/glfw/cocoa_monitor.m +++ b/glfw/cocoa_monitor.m @@ -89,7 +89,7 @@ static char* getDisplayName(CGDirectDisplayID displayID) if (!service) { _glfwInputError(GLFW_PLATFORM_ERROR, - "Cocoa: Failed to find service port for display"); + "Cocoa: Failed to find service port for display, cannot get its name, using Unknown"); return NULL; }