Changed error message in _glfwSetWindowTaskbarBadgeStringWin32()

This commit is contained in:
GamesTrap 2023-03-07 00:20:22 +01:00
parent 444d7de752
commit aa0e9f8aa7
No known key found for this signature in database
GPG Key ID: 31DFD452434ECDA3

View File

@ -1810,8 +1810,9 @@ void _glfwSetWindowTaskbarBadgeWin32(_GLFWwindow* window, int count)
void _glfwSetWindowTaskbarBadgeStringWin32(_GLFWwindow* window, const char* string) void _glfwSetWindowTaskbarBadgeStringWin32(_GLFWwindow* window, const char* string)
{ {
_glfwInputError(GLFW_FEATURE_UNIMPLEMENTED, _glfwInputError(GLFW_FEATURE_UNAVAILABLE,
"Win32: I'm sure GamesTrap will find a way to write non-integer strings with GDI too. :)"); "Win32: Unable to set a string badge. Only integer badges are supported");
//In reality you can display a string but it could only be 3 maybe 4 characters long till it becomes an unreadable mess.
} }
void _glfwGetWindowPosWin32(_GLFWwindow* window, int* xpos, int* ypos) void _glfwGetWindowPosWin32(_GLFWwindow* window, int* xpos, int* ypos)