diff options
author | Dalai Felinto <dfelinto@gmail.com> | 2011-10-20 10:29:14 +0400 |
---|---|---|
committer | Dalai Felinto <dfelinto@gmail.com> | 2011-10-20 10:29:14 +0400 |
commit | e0604e5941f958f332911b0948cddfc1f21f0014 (patch) | |
tree | f7e2382829395b5b7e57ef8dbe2a1323869ec89f /intern | |
parent | 9bbec84e7e14f11f86baeaea6a9a2bce6b7499de (diff) |
OSX fix for recent utf8 commit
Diffstat (limited to 'intern')
-rw-r--r-- | intern/ghost/intern/GHOST_SystemCocoa.mm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/ghost/intern/GHOST_SystemCocoa.mm b/intern/ghost/intern/GHOST_SystemCocoa.mm index e8ec13f20df..58a856375bb 100644 --- a/intern/ghost/intern/GHOST_SystemCocoa.mm +++ b/intern/ghost/intern/GHOST_SystemCocoa.mm @@ -1655,8 +1655,8 @@ GHOST_TSuccess GHOST_SystemCocoa::handleKeyEvent(void *eventPtr) return GHOST_kFailure; } + char utf8_buf[6]= {'\0'}; /* TODO, unicode input */ switch ([event type]) { - char utf8_buf[6]= {'\0'}; /* TODO, unicode input */ case NSKeyDown: case NSKeyUp: |