Made character unsigned.

This commit is contained in:
Camilla Berglund
2013-02-25 17:02:28 +01:00
parent dfc48d7170
commit 182e0afe25
4 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -135,7 +135,7 @@ void _glfwInputKey(_GLFWwindow* window, int key, int action)
window->callbacks.key((GLFWwindow*) window, key, action);
}
void _glfwInputChar(_GLFWwindow* window, int character)
void _glfwInputChar(_GLFWwindow* window, unsigned int character)
{
// Valid Unicode (ISO 10646) character?
if (!((character >= 32 && character <= 126) || character >= 160))