ecore_cocoa: fix wrong key assignment
authorJean Guyomarc'h <jean.guyomarch@openwide.fr>
Tue, 30 Aug 2016 14:12:47 +0000 (16:12 +0200)
committerJean Guyomarc'h <jean@guyomarch.bzh>
Wed, 31 Aug 2016 19:24:49 +0000 (21:24 +0200)
src/lib/ecore_cocoa/ecore_cocoa.m

index 43501c1..ee1188d 100644 (file)
@@ -277,7 +277,7 @@ _ecore_cocoa_feed_events(void *anEvent)
 
            if (evUp->key)
              {
-                evUp->keyname = evDown->key;
+                evUp->keyname = evUp->key;
                 evUp->timestamp = time;
                 evUp->string = NULL;
                 ecore_event_add(ECORE_EVENT_KEY_UP, evUp, NULL, NULL);