aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/sdl
diff options
context:
space:
mode:
authorEugene Sandulenko2009-05-11 09:13:43 +0000
committerEugene Sandulenko2009-05-11 09:13:43 +0000
commitd82c78c4a3b5d4c9c65414c9c1f3d68e04c81c96 (patch)
tree62aa0bd8879868d4742992f168429881835b0920 /backends/platform/sdl
parent79777a0076f738633796ee4de40c67bd5ccd96b1 (diff)
downloadscummvm-rg350-d82c78c4a3b5d4c9c65414c9c1f3d68e04c81c96.tar.gz
scummvm-rg350-d82c78c4a3b5d4c9c65414c9c1f3d68e04c81c96.tar.bz2
scummvm-rg350-d82c78c4a3b5d4c9c65414c9c1f3d68e04c81c96.zip
Fix compilation
svn-id: r40447
Diffstat (limited to 'backends/platform/sdl')
-rw-r--r--backends/platform/sdl/hardwarekeys.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/backends/platform/sdl/hardwarekeys.cpp b/backends/platform/sdl/hardwarekeys.cpp
index fdfd365a73..420aef82cb 100644
--- a/backends/platform/sdl/hardwarekeys.cpp
+++ b/backends/platform/sdl/hardwarekeys.cpp
@@ -175,7 +175,6 @@ const Key keys[] = {
{"UNDO", KEYCODE_UNDO, 0, "Undo", kActionKeyType, false},
{0, KEYCODE_INVALID, 0, 0, kGenericKeyType, false}
};
-#endif
struct Mod {
byte flag;
@@ -194,6 +193,8 @@ const Mod modifiers[] = {
{ KBD_SHIFT | KBD_CTRL | KBD_ALT, "C+A+", "Ctrl+Alt+", true },
{ 0, 0, 0, false }
};
+#endif
+
Common::HardwareKeySet *OSystem_SDL::getHardwareKeySet() {
#ifdef ENABLE_KEYMAPPER