Mercurial > sdl-ios-xcode
diff src/video/nanox/SDL_nxevents.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/nanox/SDL_nxevents.c Sun Feb 19 23:38:57 2006 +0000 +++ b/src/video/nanox/SDL_nxevents.c Sun Feb 19 23:46:34 2006 +0000 @@ -41,7 +41,7 @@ Dprintf ("enter NX_InitOSKeymap\n") ; // Map the nanox scancodes to SDL keysyms - for (i = 0; i < SDL_TABLESIZE (NX_NONASCII_keymap); ++ i) + for (i = 0; i < SDL_arraysize (NX_NONASCII_keymap); ++ i) NX_NONASCII_keymap [i] = SDLK_UNKNOWN ; NX_NONASCII_keymap [MWKEY_LEFT & 0xFF] = SDLK_LEFT ;