summaryrefslogtreecommitdiff
path: root/sdl.c
diff options
context:
space:
mode:
authortruelight <truelight@openttd.org>2004-12-27 10:40:04 +0000
committertruelight <truelight@openttd.org>2004-12-27 10:40:04 +0000
commit1f4c1e8821dfbb6bbb3e14e544d0801a0dfc8ac8 (patch)
tree1f0b40b7f8c78dba53f4aa7eea0d1eb47d0f1c80 /sdl.c
parentf3c8f40c511871e94f4eeff54d3ccd221797b3ab (diff)
downloadopenttd-1f4c1e8821dfbb6bbb3e14e544d0801a0dfc8ac8.tar.xz
(svn r1281) -Fix: the OS/2 is now finished. Fixes:
- Networking - File selector issue - Keyboard input - Dedicated server console issue (use dedicated.cmd to open a server) - Plus many other minor issues
Diffstat (limited to 'sdl.c')
-rw-r--r--sdl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sdl.c b/sdl.c
index 1fabe2666..c9275f37a 100644
--- a/sdl.c
+++ b/sdl.c
@@ -408,7 +408,7 @@ static uint32 ConvertSdlKeyIntoMy(SDL_keysym *sym)
}
// check scancode for BACKQUOTE key, because we want the key left of "1", not anything else (on non-US keyboards)
-#if defined(WIN32)
+#if defined(WIN32) || defined(__OS2__)
if (sym->scancode == 41) key |= WKC_BACKQUOTE;
#elif defined(__APPLE__)
if (sym->scancode == 10) key |= WKC_BACKQUOTE;