Mercurial > sdl-ios-xcode
comparison src/video/riscos/SDL_riscosevents.c @ 1379:c0a74f199ecf
Use only safe string functions
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Sun, 19 Feb 2006 23:46:34 +0000 |
parents | 19418e4422cb |
children | d910939febfa |
comparison
equal
deleted
inserted
replaced
1378:dc0e13e7e1ae | 1379:c0a74f199ecf |
---|---|
99 void RISCOS_InitOSKeymap(_THIS) | 99 void RISCOS_InitOSKeymap(_THIS) |
100 { | 100 { |
101 int i; | 101 int i; |
102 | 102 |
103 /* Map the VK keysyms */ | 103 /* Map the VK keysyms */ |
104 for ( i=0; i<SDL_TABLESIZE(RO_keymap); ++i ) | 104 for ( i=0; i<SDL_arraysize(RO_keymap); ++i ) |
105 RO_keymap[i] = SDLK_UNKNOWN; | 105 RO_keymap[i] = SDLK_UNKNOWN; |
106 | 106 |
107 RO_keymap[3] = SDLK_LSHIFT; | 107 RO_keymap[3] = SDLK_LSHIFT; |
108 RO_keymap[4] = SDLK_LCTRL; | 108 RO_keymap[4] = SDLK_LCTRL; |
109 RO_keymap[5] = SDLK_LALT; | 109 RO_keymap[5] = SDLK_LALT; |