aboutsummaryrefslogtreecommitdiff
path: root/engines/pegasus/input.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/pegasus/input.cpp')
-rw-r--r--engines/pegasus/input.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/pegasus/input.cpp b/engines/pegasus/input.cpp
index e11be2c8e7..b74e4a4c45 100644
--- a/engines/pegasus/input.cpp
+++ b/engines/pegasus/input.cpp
@@ -132,7 +132,7 @@ void InputDeviceManager::getInput(Input &input, const InputBits filter) {
input.setInputLocation(g_system->getEventManager()->getMousePos());
// Set the outgoing bits
- InputBits filteredBits = currentBits & filter;
+ InputBits filteredBits = currentBits & filter;
input.setInputBits((filteredBits & kAllButtonDownBits) | (filteredBits & _lastRawBits & kAllAutoBits));
// Update the last bits
@@ -246,7 +246,7 @@ void InputHandler::pollForInput() {
void InputHandler::getInput(Input &input, Hotspot *&cursorSpot) {
Cursor *cursor = ((PegasusEngine *)g_engine)->_cursor;
-
+
if (_inputHandler)
_lastFilter = _inputHandler->getInputFilter();
else