diff options
author | Willem Jan Palenstijn | 2011-05-21 16:01:44 +0200 |
---|---|---|
committer | Willem Jan Palenstijn | 2011-05-21 16:02:51 +0200 |
commit | 0da3f8d8a5ecfef54d3580ae5db6a80f6ca2b77a (patch) | |
tree | 478cb8eaf367e6913166c15a336530793de78fd3 | |
parent | 2ef8e9a2025fb522825cd8b39af331a2faae2f1f (diff) | |
download | scummvm-rg350-0da3f8d8a5ecfef54d3580ae5db6a80f6ca2b77a.tar.gz scummvm-rg350-0da3f8d8a5ecfef54d3580ae5db6a80f6ca2b77a.tar.bz2 scummvm-rg350-0da3f8d8a5ecfef54d3580ae5db6a80f6ca2b77a.zip |
SCI: Fix probable alt/shift mixup
A check for alt was changed into this check for shift in the
cleanup commit 906f0248317e1a4167190a666fe308a09334bfac.
-rw-r--r-- | engines/sci/event.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/event.cpp b/engines/sci/event.cpp index b015a6df7f..74879f6c63 100644 --- a/engines/sci/event.cpp +++ b/engines/sci/event.cpp @@ -250,7 +250,7 @@ SciEvent EventManager::getScummVMEvent() { // When Ctrl AND Alt are pressed together with a regular key, Linux will give us control-key, Windows will give // us the actual key. My opinion is that windows is right, because under DOS the keys worked the same, anyway // we support the other case as well - if ((modifiers & Common::KBD_SHIFT) && input.character > 0 && input.character < 27) + if ((modifiers & Common::KBD_ALT) && input.character > 0 && input.character < 27) input.character += 96; // 0x01 -> 'a' if (getSciVersion() <= SCI_VERSION_1_MIDDLE) { |