Skip to content

Commit

Permalink
SCI: Fix probable alt/shift mixup
Browse files Browse the repository at this point in the history
A check for alt was changed into this check for shift in the
cleanup commit 906f024.
(cherry picked from commit 0da3f8d)
  • Loading branch information
wjp committed May 21, 2011
1 parent ce69c2e commit dd6b569
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion engines/sci/event.cpp
Expand Up @@ -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) {
Expand Down

0 comments on commit dd6b569

Please sign in to comment.