Mercurial > sdl-ios-xcode
comparison src/video/windib/SDL_dibevents.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 |
---|---|
249 void DIB_InitOSKeymap(_THIS) | 249 void DIB_InitOSKeymap(_THIS) |
250 { | 250 { |
251 int i; | 251 int i; |
252 | 252 |
253 /* Map the VK keysyms */ | 253 /* Map the VK keysyms */ |
254 for ( i=0; i<SDL_TABLESIZE(VK_keymap); ++i ) | 254 for ( i=0; i<SDL_arraysize(VK_keymap); ++i ) |
255 VK_keymap[i] = SDLK_UNKNOWN; | 255 VK_keymap[i] = SDLK_UNKNOWN; |
256 | 256 |
257 VK_keymap[VK_BACK] = SDLK_BACKSPACE; | 257 VK_keymap[VK_BACK] = SDLK_BACKSPACE; |
258 VK_keymap[VK_TAB] = SDLK_TAB; | 258 VK_keymap[VK_TAB] = SDLK_TAB; |
259 VK_keymap[VK_CLEAR] = SDLK_CLEAR; | 259 VK_keymap[VK_CLEAR] = SDLK_CLEAR; |