Mercurial > sdl-ios-xcode
diff src/video/x11/SDL_x11events.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/x11/SDL_x11events.c Sun Feb 19 23:38:57 2006 +0000 +++ b/src/video/x11/SDL_x11events.c Sun Feb 19 23:46:34 2006 +0000 @@ -693,7 +693,7 @@ int i; /* Odd keys used in international keyboards */ - for ( i=0; i<SDL_TABLESIZE(ODD_keymap); ++i ) + for ( i=0; i<SDL_arraysize(ODD_keymap); ++i ) ODD_keymap[i] = SDLK_UNKNOWN; /* Some of these might be mappable to an existing SDLK_ code */ @@ -729,7 +729,7 @@ #endif /* Map the miscellaneous keys */ - for ( i=0; i<SDL_TABLESIZE(MISC_keymap); ++i ) + for ( i=0; i<SDL_arraysize(MISC_keymap); ++i ) MISC_keymap[i] = SDLK_UNKNOWN; /* These X keysyms have 0xFF as the high byte */