src/events/SDL_keyboard.c
branchSDL-1.3
changeset 1679 153477a6cc31
parent 1674 7688a73b25b1
child 1720 a1ebb17f9c52
     1.1 --- a/src/events/SDL_keyboard.c	Wed Jun 14 06:14:26 2006 +0000
     1.2 +++ b/src/events/SDL_keyboard.c	Wed Jun 14 06:26:35 2006 +0000
     1.3 @@ -443,7 +443,7 @@
     1.4  {
     1.5      const char *keyname;
     1.6  
     1.7 -    if (key < SDL_tablesize(SDL_keynames)) {
     1.8 +    if (key < SDL_arraysize(SDL_keynames)) {
     1.9          keyname = SDL_keynames[key];
    1.10      } else {
    1.11          keyname = NULL;