- Fix shift key handling, see bug 6175.

svn path=/trunk/; revision=51540
This commit is contained in:
James Tabor 2011-05-02 07:40:04 +00:00
parent b86b0d1048
commit 110864eec5

View file

@ -53,6 +53,8 @@ DWORD FASTCALL UserGetKeyState(DWORD key)
if( key < 0x100 )
{
ret = (DWORD)MessageQueue->KeyState[key];
if (MessageQueue->KeyState[key] & KS_DOWN_BIT)
ret |= 0xFF00; // If down, windows returns 0xFF80.
}
return ret;