aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorJohannes Schickel2013-01-14 21:07:20 +0100
committerJohannes Schickel2013-01-14 21:07:20 +0100
commit45f95cbc8b427e005daeaf9d57322dd2975a7cf9 (patch)
treeeeee90f90077dc24e6b881cac434fec0ab44468c /engines
parent8e733f03b766bb741b3b87842607ba11c3652496 (diff)
downloadscummvm-rg350-45f95cbc8b427e005daeaf9d57322dd2975a7cf9.tar.gz
scummvm-rg350-45f95cbc8b427e005daeaf9d57322dd2975a7cf9.tar.bz2
scummvm-rg350-45f95cbc8b427e005daeaf9d57322dd2975a7cf9.zip
SCI: Minor formatting fixes.
Diffstat (limited to 'engines')
-rw-r--r--engines/sci/event.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/engines/sci/event.cpp b/engines/sci/event.cpp
index 90351a4d5e..7318fe2f68 100644
--- a/engines/sci/event.cpp
+++ b/engines/sci/event.cpp
@@ -160,10 +160,9 @@ SciEvent EventManager::getScummVMEvent() {
noEvent.mousePos = input.mousePos = mousePos;
- if (!found || ev.type == Common::EVENT_MOUSEMOVE)
- {
+ if (!found || ev.type == Common::EVENT_MOUSEMOVE) {
int modifiers = em->getModifierState();
- noEvent.modifiers =
+ noEvent.modifiers =
((modifiers & Common::KBD_ALT) ? SCI_KEYMOD_ALT : 0) |
((modifiers & Common::KBD_CTRL) ? SCI_KEYMOD_CTRL : 0) |
((modifiers & Common::KBD_SHIFT) ? SCI_KEYMOD_LSHIFT | SCI_KEYMOD_RSHIFT : 0);