aboutsummaryrefslogtreecommitdiff
path: root/backends/events/default
diff options
context:
space:
mode:
authorEugene Sandulenko2009-01-01 15:06:43 +0000
committerEugene Sandulenko2009-01-01 15:06:43 +0000
commit696897b0583ad52ebc6f7666525277847619a8ce (patch)
tree5ac2be2991e94dce32c5bb7fdb0dcc4188221503 /backends/events/default
parent05d3633eb32ead8e11435b85a9db1ddaa1482fcb (diff)
downloadscummvm-rg350-696897b0583ad52ebc6f7666525277847619a8ce.tar.gz
scummvm-rg350-696897b0583ad52ebc6f7666525277847619a8ce.tar.bz2
scummvm-rg350-696897b0583ad52ebc6f7666525277847619a8ce.zip
Whoa! Removing trailing spaces.
svn-id: r35648
Diffstat (limited to 'backends/events/default')
-rw-r--r--backends/events/default/default-events.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/backends/events/default/default-events.cpp b/backends/events/default/default-events.cpp
index 80c1b872c7..7c8c19c84e 100644
--- a/backends/events/default/default-events.cpp
+++ b/backends/events/default/default-events.cpp
@@ -356,7 +356,7 @@ bool DefaultEventManager::pollEvent(Common::Event &event) {
if (!artificialEventQueue.empty()) {
event = artificialEventQueue.pop();
result = true;
- } else
+ } else
result = _boss->pollEvent(event);
if (_recordMode != kPassthrough) {
@@ -397,7 +397,7 @@ bool DefaultEventManager::pollEvent(Common::Event &event) {
if (g_engine && !g_engine->isPaused()) {
Common::Event menuEvent;
menuEvent.type = Common::EVENT_MAINMENU;
-
+
// FIXME: GSoC RTL branch passes the F6 key event to the
// engine, and also enqueues a EVENT_MAINMENU. For now,
// we just drop the key event and return an EVENT_MAINMENU
@@ -406,7 +406,7 @@ bool DefaultEventManager::pollEvent(Common::Event &event) {
//
// However, this has other consequences, possibly negative ones.
// Like, what happens with key repeat for the trigger key?
-
+
//pushEvent(menuEvent);
event = menuEvent;
@@ -519,8 +519,8 @@ void DefaultEventManager::pushEvent(Common::Event event) {
if (event.type == Common::EVENT_QUIT) {
if (!_shouldQuit)
artificialEventQueue.push(event);
- } else
- artificialEventQueue.push(event);
+ } else
+ artificialEventQueue.push(event);
}
#endif // !defined(DISABLE_DEFAULT_EVENTMANAGER)