diff --git a/src/input.c b/src/input.c index 36128e10..7ea74cfa 100644 --- a/src/input.c +++ b/src/input.c @@ -314,7 +314,7 @@ void _glfwInputChar(_GLFWwindow* window, uint32_t codepoint, int mods, GLFWbool assert(mods == (mods & GLFW_MOD_MASK)); assert(plain == GLFW_TRUE || plain == GLFW_FALSE); - if (codepoint < 32 || (codepoint > 126 && codepoint < 160)) + if (codepoint > 126 && codepoint < 160) return; if (!window->lockKeyMods)