aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
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