mirror of
https://github.com/glfw/glfw.git
synced 2025-12-20 14:11:55 +00:00
Compare commits
2 Commits
3fcdf90d15
...
02d9cdf100
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
02d9cdf100 | ||
|
|
0b0a45e077 |
@ -312,7 +312,7 @@ void _glfwInputChar(_GLFWwindow* window, uint32_t codepoint, int mods, GLFWbool
|
|||||||
assert(mods == (mods & GLFW_MOD_MASK));
|
assert(mods == (mods & GLFW_MOD_MASK));
|
||||||
assert(plain == GLFW_TRUE || plain == GLFW_FALSE);
|
assert(plain == GLFW_TRUE || plain == GLFW_FALSE);
|
||||||
|
|
||||||
if (codepoint < 32 || (codepoint > 126 && codepoint < 160))
|
if (codepoint > 126 && codepoint < 160)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
if (!window->lockKeyMods)
|
if (!window->lockKeyMods)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user