diff options
author | Paul Gilbert | 2017-11-24 17:01:58 -0500 |
---|---|---|
committer | Paul Gilbert | 2017-11-24 17:01:58 -0500 |
commit | 150f70f94c3d8cf762ca564ac6c05fa52c62f9a8 (patch) | |
tree | e715b7c1c2a01f924fd02e28c7b22f688b8d7af8 | |
parent | 5bd0d25c42244bec026fbe141dd74cae02f01400 (diff) | |
download | scummvm-rg350-150f70f94c3d8cf762ca564ac6c05fa52c62f9a8.tar.gz scummvm-rg350-150f70f94c3d8cf762ca564ac6c05fa52c62f9a8.tar.bz2 scummvm-rg350-150f70f94c3d8cf762ca564ac6c05fa52c62f9a8.zip |
XEEN: Fix hotkeys when Caps Lock is turned on
-rw-r--r-- | engines/xeen/dialogs.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/xeen/dialogs.cpp b/engines/xeen/dialogs.cpp index a88efd2520..b890aa73b3 100644 --- a/engines/xeen/dialogs.cpp +++ b/engines/xeen/dialogs.cpp @@ -94,7 +94,7 @@ bool ButtonContainer::checkEvents(XeenEngine *vm) { else if (_buttonValue == Common::KEYCODE_KP_ENTER) _buttonValue = Common::KEYCODE_RETURN; - _buttonValue |= keyState.flags << 16; + _buttonValue |= (keyState.flags & ~Common::KBD_CAPS) << 16; if (_buttonValue) return true; } |