summaryrefslogtreecommitdiff
path: root/src/eventsmanager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/eventsmanager.cpp')
-rw-r--r--src/eventsmanager.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/eventsmanager.cpp b/src/eventsmanager.cpp
index 986d9cf9e..ee9a46136 100644
--- a/src/eventsmanager.cpp
+++ b/src/eventsmanager.cpp
@@ -156,10 +156,10 @@ bool EventsManager::handleEvents() const
{
if (!handleCommonEvents(event))
{
- switch (event.type)
- {
#ifdef ANDROID
#ifndef USE_SDL2
+ switch (event.type)
+ {
case SDL_ACTIVEEVENT:
if ((event.active.state & SDL_APPACTIVE)
&& !event.active.gain)
@@ -169,11 +169,11 @@ bool EventsManager::handleEvents() const
}
break;
-#endif // USE_SDL2
-#endif // ANDROID
default:
break;
}
+#endif // USE_SDL2
+#endif // ANDROID
}
#ifdef USE_MUMBLE