Mercurial > sdl-ios-xcode
diff src/video/ataricommon/SDL_biosevents.c @ 3854:f1816773a309 SDL-1.2
/me dumb, sizeof(keymap) != number of elements
author | Patrice Mandin <patmandin@gmail.com> |
---|---|
date | Thu, 07 Sep 2006 20:52:31 +0000 |
parents | 2405517b5eab |
children | bf1586b58ef2 |
line wrap: on
line diff
--- a/src/video/ataricommon/SDL_biosevents.c Tue Sep 05 19:31:48 2006 +0000 +++ b/src/video/ataricommon/SDL_biosevents.c Thu Sep 07 20:52:31 2006 +0000 @@ -74,7 +74,7 @@ SDL_memset(bios_previouskeyboard, 0, sizeof(bios_previouskeyboard)); /* Initialize keymap */ - for ( i=0; i<sizeof(keymap); i++ ) + for ( i=0; i<ATARIBIOS_MAXKEYS; i++ ) keymap[i] = SDLK_UNKNOWN; /* Functions keys */