diff options
author | Ton Roosendaal <ton@blender.org> | 2003-07-11 00:45:17 +0400 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2003-07-11 00:45:17 +0400 |
commit | 5d118d2b62bde610e6cc5c47d8901bdeb1eb6c3e (patch) | |
tree | cf784a504432b39d706472436b774bbbe18ebb8a /intern | |
parent | ad6ddb4689cd9463c37a600c5af85b6799ec054c (diff) |
* removed warning from Glut "unknown key" when pressing the 'paragraph'
key.
Diffstat (limited to 'intern')
-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; } |