diff options
author | md5 | 2011-03-10 03:11:23 +0200 |
---|---|---|
committer | md5 | 2011-03-10 03:11:23 +0200 |
commit | 60bad3754b54e7cf178b54a9db6c487403289d71 (patch) | |
tree | b7c20e27b8f954e773299672aa7ea6f9cf985fe5 /engines/sci | |
parent | fae2be668fb235c5f145276f98f264c254410d7e (diff) | |
download | scummvm-rg350-60bad3754b54e7cf178b54a9db6c487403289d71.tar.gz scummvm-rg350-60bad3754b54e7cf178b54a9db6c487403289d71.tar.bz2 scummvm-rg350-60bad3754b54e7cf178b54a9db6c487403289d71.zip |
SCI: Fixed regression (shift key) in the latest event code cleanup
Diffstat (limited to 'engines/sci')
-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 cb0e6b3c03..dce776a1a6 100644 --- a/engines/sci/event.cpp +++ b/engines/sci/event.cpp @@ -248,7 +248,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 < 27) + if ((modifiers & Common::KBD_SHIFT) && input.character > 0 && input.character < 27) input.character += 96; // 0x01 -> 'a' if (getSciVersion() <= SCI_VERSION_1_MIDDLE) { |