diff options
author | Rider Linden <rider@lindenlab.com> | 2015-12-18 14:10:02 -0800 |
---|---|---|
committer | Rider Linden <rider@lindenlab.com> | 2015-12-18 14:10:02 -0800 |
commit | 909e4097433ab8e84a19e2119a9ecf05b3eebe64 (patch) | |
tree | fe11439e42d20f1f2eae81e772c68b0d9fdb2692 /indra/llwindow/llkeyboardwin32.cpp | |
parent | b98469bd7db06973e6058118551e500dc094d3c0 (diff) | |
parent | 6dd80980cfa5be214c143d125cfabd006ea7ebff (diff) |
Merge
Diffstat (limited to 'indra/llwindow/llkeyboardwin32.cpp')
-rwxr-xr-x | indra/llwindow/llkeyboardwin32.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/llwindow/llkeyboardwin32.cpp b/indra/llwindow/llkeyboardwin32.cpp index dc40dcdde0..2123ed3939 100755 --- a/indra/llwindow/llkeyboardwin32.cpp +++ b/indra/llwindow/llkeyboardwin32.cpp @@ -258,7 +258,7 @@ void LLKeyboardWin32::scanKeyboard() // *TODO: I KNOW there must be a better way of // interrogating the key state than this, using async key // state can cause ALL kinds of bugs - Doug - if (key < KEY_BUTTON0) + if ((key < KEY_BUTTON0) && ((key < '0') || (key > '9'))) { // ...under windows make sure the key actually still is down. // ...translate back to windows key @@ -267,7 +267,7 @@ void LLKeyboardWin32::scanKeyboard() if (!pending_key_events && !(GetAsyncKeyState(virtual_key) & 0x8000)) { //LL_INFOS() << "Key up event missed, resetting" << LL_ENDL; - mKeyLevel[key] = FALSE; + mKeyLevel[key] = FALSE; } } } |