aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWillem Jan Palenstijn2011-05-21 16:01:44 +0200
committerWillem Jan Palenstijn2011-05-21 16:04:03 +0200
commitdd6b5698b181532b37cba41b1475b01813aadddc (patch)
tree71bb47032f4a51aaa08de283dd6fb66bb7c95906
parentce69c2e22e2a4efa4b18e92308a123bfd872fba3 (diff)
downloadscummvm-rg350-dd6b5698b181532b37cba41b1475b01813aadddc.tar.gz
scummvm-rg350-dd6b5698b181532b37cba41b1475b01813aadddc.tar.bz2
scummvm-rg350-dd6b5698b181532b37cba41b1475b01813aadddc.zip
SCI: Fix probable alt/shift mixup
A check for alt was changed into this check for shift in the cleanup commit 906f0248317e1a4167190a666fe308a09334bfac. (cherry picked from commit 0da3f8d8a5ecfef54d3580ae5db6a80f6ca2b77a)
-rw-r--r--engines/sci/event.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/event.cpp b/engines/sci/event.cpp
index 6b5ea64fc4..e8097e4e76 100644
--- a/engines/sci/event.cpp
+++ b/engines/sci/event.cpp
@@ -253,7 +253,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) {