From aa0e9f8aa775ba0744a0def5388492cf8ebc0a52 Mon Sep 17 00:00:00 2001 From: GamesTrap Date: Tue, 7 Mar 2023 00:20:22 +0100 Subject: [PATCH] Changed error message in _glfwSetWindowTaskbarBadgeStringWin32() --- src/win32_window.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/win32_window.c b/src/win32_window.c index a5bfcd2a..69a77ca3 100644 --- a/src/win32_window.c +++ b/src/win32_window.c @@ -1810,8 +1810,9 @@ void _glfwSetWindowTaskbarBadgeWin32(_GLFWwindow* window, int count) void _glfwSetWindowTaskbarBadgeStringWin32(_GLFWwindow* window, const char* string) { - _glfwInputError(GLFW_FEATURE_UNIMPLEMENTED, - "Win32: I'm sure GamesTrap will find a way to write non-integer strings with GDI too. :)"); + _glfwInputError(GLFW_FEATURE_UNAVAILABLE, + "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)