Use variables for what they were created for SDL-1.2
authorPatrice Mandin <patmandin@gmail.com>
Thu, 11 Oct 2012 19:08:03 +0200
branchSDL-1.2
changeset 65720d391c407a4f
parent 6563 ba187d0466e6
child 6582 8b7e21749630
Use variables for what they were created for
src/video/gem/SDL_gemevents.c
     1.1 --- a/src/video/gem/SDL_gemevents.c	Fri Oct 05 23:18:53 2012 -0400
     1.2 +++ b/src/video/gem/SDL_gemevents.c	Thu Oct 11 19:08:03 2012 +0200
     1.3 @@ -114,6 +114,8 @@
     1.4  		if (resultat & MU_KEYBD) {
     1.5  			if ((prevkc != kc) || (prevks != kstate)) {
     1.6  				do_keyboard(kc,kstate);
     1.7 +				prevkc = kc;
     1.8 +				prevks = ks;
     1.9  			} else {
    1.10  				/* Avoid looping, if repeating same key */
    1.11  				break;