aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sdl.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/sdl.cpp b/sdl.cpp
index ed188310e9..1b1d32b357 100644
--- a/sdl.cpp
+++ b/sdl.cpp
@@ -765,7 +765,7 @@ bool OSystem_SDL::poll_event(Event *event) {
}
if (b == (KBD_CTRL|KBD_ALT) &&
- ev.key.keysym.sym>='1' && ev.key.keysym.sym<='6') {
+ ev.key.keysym.sym>='1' && ev.key.keysym.sym<='7') {
property(PROP_SET_GFX_MODE, ev.key.keysym.sym - '1');
break;
}
@@ -936,7 +936,7 @@ uint32 OSystem_SDL::property(int param, uint32 value) {
break;
case PROP_SET_GFX_MODE:
- if (value >= 6)
+ if (value >= 7)
return 0;
_mode = value;