Unify error message buffer lengths

This commit is contained in:
Camilla Löwy
2017-08-17 14:25:10 +02:00
parent 08737bdc02
commit 0c70eb8d5c
4 changed files with 7 additions and 5 deletions
+3 -1
View File
@@ -54,6 +54,8 @@
#define _GLFW_POLL_BUTTONS 2
#define _GLFW_POLL_ALL (_GLFW_POLL_AXES | _GLFW_POLL_BUTTONS)
#define _GLFW_MESSAGE_SIZE 1024
typedef int GLFWbool;
typedef struct _GLFWerror _GLFWerror;
@@ -263,7 +265,7 @@ struct _GLFWerror
{
_GLFWerror* next;
int code;
char description[1024];
char description[_GLFW_MESSAGE_SIZE];
};
/*! @brief Initialization configuration.