[Scummvm-cvs-logs] scummvm master -> 45f95cbc8b427e005daeaf9d57322dd2975a7cf9
lordhoto
lordhoto at gmail.com
Mon Jan 14 21:08:49 CET 2013
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
45f95cbc8b SCI: Minor formatting fixes.
Commit: 45f95cbc8b427e005daeaf9d57322dd2975a7cf9
https://github.com/scummvm/scummvm/commit/45f95cbc8b427e005daeaf9d57322dd2975a7cf9
Author: Johannes Schickel (lordhoto at scummvm.org)
Date: 2013-01-14T12:07:20-08:00
Commit Message:
SCI: Minor formatting fixes.
Changed paths:
engines/sci/event.cpp
diff --git a/engines/sci/event.cpp b/engines/sci/event.cpp
index 90351a4..7318fe2 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);
More information about the Scummvm-git-logs
mailing list