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;