diff options
-rw-r--r-- | intern/ghost/intern/GHOST_SystemCarbon.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/intern/ghost/intern/GHOST_SystemCarbon.cpp b/intern/ghost/intern/GHOST_SystemCarbon.cpp index 0dd65f4e76f..a1b1e732978 100644 --- a/intern/ghost/intern/GHOST_SystemCarbon.cpp +++ b/intern/ghost/intern/GHOST_SystemCarbon.cpp @@ -104,7 +104,7 @@ static GHOST_TKey convertKey(int rawCode) */ static UInt32 dummy= 0; Handle transData = (Handle) GetScriptManagerVariable(smKCHRCache); - char vk = KeyTranslate(transData, rawCode, &dummy); + unsigned char vk = KeyTranslate(transData, rawCode, &dummy); /* Map numpad based on rawcodes first, otherwise they * look like non-numpad events. */ @@ -179,7 +179,7 @@ static GHOST_TKey convertKey(int rawCode) } } - printf("GHOST: unknown key: %d %d\n", vk, rawCode); + // printf("GHOST: unknown key: %d %d\n", vk, rawCode); return GHOST_kKeyUnknown; } |