aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorMartin Kiewitz2009-12-04 18:41:16 +0000
committerMartin Kiewitz2009-12-04 18:41:16 +0000
commit0db75cd812d5d805378b58ed860cdb2f49478775 (patch)
tree692e12c524e762acf9cc216422956d0e0e5c0e0e /engines
parent3db191275955ce6bf912a96edf39b2a38b9e4c77 (diff)
downloadscummvm-rg350-0db75cd812d5d805378b58ed860cdb2f49478775.tar.gz
scummvm-rg350-0db75cd812d5d805378b58ed860cdb2f49478775.tar.bz2
scummvm-rg350-0db75cd812d5d805378b58ed860cdb2f49478775.zip
SCI: Typo fixed in SciEvent caused all Ctrl keys to get changed to Ctrl-Alt-X :)
svn-id: r46257
Diffstat (limited to 'engines')
-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 3cf28c4fe2..c152aa9b6f 100644
--- a/engines/sci/event.cpp
+++ b/engines/sci/event.cpp
@@ -400,7 +400,7 @@ sciEvent SciEvent::get(unsigned int mask) {
event.character = event.data;
// TODO: Remove this as soon as ScummVM handles Ctrl-Alt-X to us
- if ((event.modifiers == SCI_KEYMOD_CTRL) && (event.character = 'x'))
+ if ((event.modifiers == SCI_KEYMOD_CTRL) && (event.character == 'x'))
event.modifiers |= SCI_KEYMOD_ALT;
// Scancodify if appropriate