Made error message tags more consistent.

This commit is contained in:
Camilla Berglund
2012-12-13 19:18:04 +01:00
parent 9a659c287e
commit 9c0e19adca
8 changed files with 23 additions and 32 deletions
+2 -2
View File
@@ -323,7 +323,7 @@ GLFWAPI int glfwGetKey(GLFWwindow handle, int key)
if (key < 0 || key > GLFW_KEY_LAST)
{
_glfwSetError(GLFW_INVALID_ENUM,
"glfwGetKey: The specified key is invalid");
"The specified key is invalid");
return GLFW_RELEASE;
}
@@ -355,7 +355,7 @@ GLFWAPI int glfwGetMouseButton(GLFWwindow handle, int button)
if (button < 0 || button > GLFW_MOUSE_BUTTON_LAST)
{
_glfwSetError(GLFW_INVALID_ENUM,
"glfwGetMouseButton: The specified mouse button is invalid");
"The specified mouse button is invalid");
return GLFW_RELEASE;
}