comparison 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
comparison
equal deleted inserted replaced
1678:90bf530ced8e 1679:153477a6cc31
441 const char * 441 const char *
442 SDL_GetKeyName(SDLKey key) 442 SDL_GetKeyName(SDLKey key)
443 { 443 {
444 const char *keyname; 444 const char *keyname;
445 445
446 if (key < SDL_tablesize(SDL_keynames)) { 446 if (key < SDL_arraysize(SDL_keynames)) {
447 keyname = SDL_keynames[key]; 447 keyname = SDL_keynames[key];
448 } else { 448 } else {
449 keyname = NULL; 449 keyname = NULL;
450 } 450 }
451 if (keyname == NULL) { 451 if (keyname == NULL) {