mirror of
https://github.com/glfw/glfw.git
synced 2026-09-19 15:25:50 +00:00
Made character unsigned.
This commit is contained in:
+1
-1
@@ -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))
|
||||
|
||||
+1
-1
@@ -591,7 +591,7 @@ void _glfwInputKey(_GLFWwindow* window, int key, int action);
|
||||
* @param[in] character The Unicode code point of the input character.
|
||||
* @ingroup event
|
||||
*/
|
||||
void _glfwInputChar(_GLFWwindow* window, int character);
|
||||
void _glfwInputChar(_GLFWwindow* window, unsigned int character);
|
||||
|
||||
/*! @brief Notifies shared code of a scroll event.
|
||||
* @param[in] window The window that received the event.
|
||||
|
||||
Reference in New Issue
Block a user