aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/sdl/events.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'backends/platform/sdl/events.cpp')
-rw-r--r--backends/platform/sdl/events.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/backends/platform/sdl/events.cpp b/backends/platform/sdl/events.cpp
index 4b36de8df0..5905d5f7ee 100644
--- a/backends/platform/sdl/events.cpp
+++ b/backends/platform/sdl/events.cpp
@@ -297,9 +297,8 @@ bool OSystem_SDL::handleKeyDown(SDL_Event &ev, Common::Event &event) {
// Ctrl-Alt-<key> will change the GFX mode
if ((b & (Common::KBD_CTRL|Common::KBD_ALT)) == (Common::KBD_CTRL|Common::KBD_ALT)) {
-
- handleScalerHotkeys(ev.key);
- return false;
+ if (handleScalerHotkeys(ev.key))
+ return false;
}
if (remapKey(ev, event))