src/video/ataricommon/SDL_gemdosevents.c
changeset 2019 d20f4510c718
parent 1895 c121d94672cb
child 2030 d774e9d7c2a8
--- a/src/video/ataricommon/SDL_gemdosevents.c	Tue Sep 05 19:32:35 2006 +0000
+++ b/src/video/ataricommon/SDL_gemdosevents.c	Thu Sep 07 20:50:13 2006 +0000
@@ -82,7 +82,7 @@
     SDL_memset(gemdos_previouskeyboard, 0, sizeof(gemdos_previouskeyboard));
 
     /* Initialize keymap */
-    for (i = 0; i < sizeof(keymap); i++)
+    for (i = 0; i < ATARIBIOS_MAXKEYS; i++)
         keymap[i] = SDLK_UNKNOWN;
 
     /* Functions keys */