src/video/x11/SDL_x11events.c
changeset 1379 c0a74f199ecf
parent 1361 19418e4422cb
child 1402 d910939febfa
     1.1 --- a/src/video/x11/SDL_x11events.c	Sun Feb 19 23:38:57 2006 +0000
     1.2 +++ b/src/video/x11/SDL_x11events.c	Sun Feb 19 23:46:34 2006 +0000
     1.3 @@ -693,7 +693,7 @@
     1.4  	int i;
     1.5  
     1.6  	/* Odd keys used in international keyboards */
     1.7 -	for ( i=0; i<SDL_TABLESIZE(ODD_keymap); ++i )
     1.8 +	for ( i=0; i<SDL_arraysize(ODD_keymap); ++i )
     1.9  		ODD_keymap[i] = SDLK_UNKNOWN;
    1.10  
    1.11   	/* Some of these might be mappable to an existing SDLK_ code */
    1.12 @@ -729,7 +729,7 @@
    1.13  #endif
    1.14  
    1.15  	/* Map the miscellaneous keys */
    1.16 -	for ( i=0; i<SDL_TABLESIZE(MISC_keymap); ++i )
    1.17 +	for ( i=0; i<SDL_arraysize(MISC_keymap); ++i )
    1.18  		MISC_keymap[i] = SDLK_UNKNOWN;
    1.19  
    1.20  	/* These X keysyms have 0xFF as the high byte */