src/events/SDL_keyboard.c
changeset 1021 ddd058103e28
parent 769 b8d311d90021
child 1123 28ac87a38c17
     1.1 --- a/src/events/SDL_keyboard.c	Sun Jan 02 05:11:16 2005 +0000
     1.2 +++ b/src/events/SDL_keyboard.c	Mon Jan 03 00:24:44 2005 +0000
     1.3 @@ -491,7 +491,8 @@
     1.4  			/*
     1.5  			 * jk 991215 - Added
     1.6  			 */
     1.7 -			if ( SDL_KeyRepeat.timestamp ) {
     1.8 +			if ( SDL_KeyRepeat.timestamp &&
     1.9 +			     SDL_KeyRepeat.evt.key.keysym.sym == keysym->sym ) {
    1.10  				SDL_KeyRepeat.timestamp = 0;
    1.11  			}
    1.12  			break;