From a7b9deb2cae216aa6c4db4f4b6dc44cd81d5f32d Mon Sep 17 00:00:00 2001 From: Camilla Berglund Date: Wed, 18 Jun 2014 21:07:54 +0200 Subject: [PATCH] Fixed use of previous member name. --- src/cocoa_window.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cocoa_window.m b/src/cocoa_window.m index 4c876c48..b7fbde97 100644 --- a/src/cocoa_window.m +++ b/src/cocoa_window.m @@ -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;