comparison src/video/svga/SDL_svgaevents.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
208 void SVGA_InitOSKeymap(_THIS) 208 void SVGA_InitOSKeymap(_THIS)
209 { 209 {
210 int i; 210 int i;
211 211
212 /* Initialize the BeOS key translation table */ 212 /* Initialize the BeOS key translation table */
213 for ( i=0; i<SDL_TABLESIZE(keymap); ++i ) 213 for ( i=0; i<SDL_arraysize(keymap); ++i )
214 keymap[i] = SDLK_UNKNOWN; 214 keymap[i] = SDLK_UNKNOWN;
215 215
216 keymap[SCANCODE_ESCAPE] = SDLK_ESCAPE; 216 keymap[SCANCODE_ESCAPE] = SDLK_ESCAPE;
217 keymap[SCANCODE_1] = SDLK_1; 217 keymap[SCANCODE_1] = SDLK_1;
218 keymap[SCANCODE_2] = SDLK_2; 218 keymap[SCANCODE_2] = SDLK_2;