From 696897b0583ad52ebc6f7666525277847619a8ce Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Thu, 1 Jan 2009 15:06:43 +0000 Subject: Whoa! Removing trailing spaces. svn-id: r35648 --- backends/events/default/default-events.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'backends/events/default') 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) -- cgit v1.2.3