forked from mirror/OpenTTD
(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
This commit is contained in:
2
sdl.c
2
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;
|
||||
|
Reference in New Issue
Block a user