Mercurial > sdl-ios-xcode
diff src/events/SDL_keyboard.c @ 1679:153477a6cc31 SDL-1.3
More compile fixes
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Wed, 14 Jun 2006 06:26:35 +0000 |
parents | 7688a73b25b1 |
children | a1ebb17f9c52 |
line wrap: on
line diff
--- a/src/events/SDL_keyboard.c Wed Jun 14 06:14:26 2006 +0000 +++ b/src/events/SDL_keyboard.c Wed Jun 14 06:26:35 2006 +0000 @@ -443,7 +443,7 @@ { const char *keyname; - if (key < SDL_tablesize(SDL_keynames)) { + if (key < SDL_arraysize(SDL_keynames)) { keyname = SDL_keynames[key]; } else { keyname = NULL;