mirror of
https://github.com/glfw/glfw.git
synced 2026-09-22 16:52:57 +00:00
Unify error message buffer lengths
This commit is contained in:
+1
-1
@@ -779,7 +779,7 @@ void _glfwReleaseErrorHandlerX11(void)
|
||||
//
|
||||
void _glfwInputErrorX11(int error, const char* message)
|
||||
{
|
||||
char buffer[8192];
|
||||
char buffer[_GLFW_MESSAGE_SIZE];
|
||||
XGetErrorText(_glfw.x11.display, _glfw.x11.errorCode,
|
||||
buffer, sizeof(buffer));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user