diff options
author | William Todd Stinson <stinson@lindenlab.com> | 2012-05-24 22:40:50 -0700 |
---|---|---|
committer | William Todd Stinson <stinson@lindenlab.com> | 2012-05-24 22:40:50 -0700 |
commit | 7faa89ba6e4ccd2f0f987f72c44c90921adfd4c9 (patch) | |
tree | 27117e549d2254c89ec9f6ebded3fe629a0124cb /indra/llwindow/llkeyboardmacosx.cpp | |
parent | 55392ef7f6499c639b10e56646cf535742152682 (diff) |
BUILDFIX: Correcting linux and mac build issues.
Diffstat (limited to 'indra/llwindow/llkeyboardmacosx.cpp')
-rw-r--r-- | indra/llwindow/llkeyboardmacosx.cpp | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/indra/llwindow/llkeyboardmacosx.cpp b/indra/llwindow/llkeyboardmacosx.cpp index ecc2631669..7f8f303517 100644 --- a/indra/llwindow/llkeyboardmacosx.cpp +++ b/indra/llwindow/llkeyboardmacosx.cpp @@ -299,28 +299,11 @@ void LLKeyboardMacOSX::scanKeyboard() BOOL LLKeyboardMacOSX::translateNumpadKey( const U16 os_key, KEY *translated_key ) { - if(mNumpadDistinct == ND_NUMLOCK_ON) - { - std::map<U16, KEY>::iterator iter= mTranslateNumpadMap.find(os_key); - if(iter != mTranslateNumpadMap.end()) - { - *translated_key = iter->second; - return TRUE; - } - } return translateKey(os_key, translated_key); } U16 LLKeyboardMacOSX::inverseTranslateNumpadKey(const KEY translated_key) { - if(mNumpadDistinct == ND_NUMLOCK_ON) - { - std::map<KEY, U16>::iterator iter= mInvTranslateNumpadMap.find(translated_key); - if(iter != mInvTranslateNumpadMap.end()) - { - return iter->second; - } - } return inverseTranslateKey(translated_key); } |