1
0
Fork 0
mirror of https://github.com/gwm17/glfw.git synced 2024-11-26 20:28:49 -05:00

Fixed use of previous member name.

This commit is contained in:
Camilla Berglund 2014-06-18 21:07:54 +02:00
parent 8ac54e8b14
commit a7b9deb2ca

View File

@ -624,7 +624,7 @@ static int translateKey(unsigned int key)
if (modifierFlags == window->ns.modifierFlags)
{
if (window->key[key] == GLFW_PRESS)
if (window->keys[key] == GLFW_PRESS)
action = GLFW_RELEASE;
else
action = GLFW_PRESS;