From 64f180a324f6d732e39adfd7cead28500d55899d Mon Sep 17 00:00:00 2001 From: Camilla Berglund Date: Wed, 15 Sep 2010 16:18:59 +0200 Subject: [PATCH] Removed remnants of Unicode character actions. --- src/window.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/window.c b/src/window.c index 3d044c6a..66f55865 100644 --- a/src/window.c +++ b/src/window.c @@ -181,13 +181,11 @@ void _glfwInputKey(_GLFWwindow* window, int key, int action) void _glfwInputChar(_GLFWwindow* window, int character) { - int keyrepeat = 0; - // Valid Unicode (ISO 10646) character? if (!((character >= 32 && character <= 126) || character >= 160)) return; - if (window->charCallback && (window->keyRepeat || !keyrepeat)) + if (window->charCallback) window->charCallback(window, character); }