Mercurial > sdl-ios-xcode
diff src/video/directfb/SDL_DirectFB_events.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 |
line wrap: on
line diff
--- a/src/video/directfb/SDL_DirectFB_events.c Sun Feb 19 23:38:57 2006 +0000 +++ b/src/video/directfb/SDL_DirectFB_events.c Sun Feb 19 23:46:34 2006 +0000 @@ -90,7 +90,7 @@ int i; /* Initialize the DirectFB key translation table */ - for (i=0; i<SDL_TABLESIZE(keymap); ++i) + for (i=0; i<SDL_arraysize(keymap); ++i) keymap[i] = SDLK_UNKNOWN; keymap[DIKI_A - DIKI_UNKNOWN] = SDLK_a;