aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWillem Jan Palenstijn2009-02-21 17:15:26 +0000
committerWillem Jan Palenstijn2009-02-21 17:15:26 +0000
commita0cc744aab81339653ad0b185cfb90bb90cf4410 (patch)
tree4418837113d22af590b62b14d40f546c57bfe31f
parentdc446169ba12eb7170874e8f24c4f0d8e19e8cfe (diff)
downloadscummvm-rg350-a0cc744aab81339653ad0b185cfb90bb90cf4410.tar.gz
scummvm-rg350-a0cc744aab81339653ad0b185cfb90bb90cf4410.tar.bz2
scummvm-rg350-a0cc744aab81339653ad0b185cfb90bb90cf4410.zip
fix translation of shift-F-keys too
svn-id: r38708
-rw-r--r--engines/sci/gfx/gfx_driver.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/gfx/gfx_driver.cpp b/engines/sci/gfx/gfx_driver.cpp
index 2464433e12..6304abfd5e 100644
--- a/engines/sci/gfx/gfx_driver.cpp
+++ b/engines/sci/gfx/gfx_driver.cpp
@@ -395,7 +395,7 @@ static sci_event_t scummvm_get_event(struct _gfx_driver *drv) {
// SCI_K_SHIFT_F1 == 84 << 8
input.data = SCI_K_F1 + ((input.data - Common::KEYCODE_F1)<<8);
if (input.buckybits & (SCI_EVM_LSHIFT | SCI_EVM_RSHIFT))
- input.character = input.data + ((SCI_K_SHIFT_F1 - SCI_K_F1) << 8);
+ input.character = input.data + SCI_K_SHIFT_F1 - SCI_K_F1;
else
input.character = input.data;
} else {