Formatting.
This commit is contained in:
parent
230bd371f8
commit
f02dbd30be
@ -157,8 +157,7 @@ void _glfwInputKey(_GLFWwindow* window, int key, int action)
|
|||||||
window->key[key] = GLFW_STICK;
|
window->key[key] = GLFW_STICK;
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
keyrepeat = (window->key[key] == GLFW_PRESS) &&
|
keyrepeat = (window->key[key] == GLFW_PRESS) && (action == GLFW_PRESS);
|
||||||
(action == GLFW_PRESS);
|
|
||||||
window->key[key] = (char) action;
|
window->key[key] = (char) action;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user