test/testalpha.c
changeset 1779 67fc81efcfc3
parent 1516 4d241ea8a1cd
child 1662 782fd950bd46
child 1895 c121d94672cb
child 3868 b2f59aadec0d
     1.1 --- a/test/testalpha.c	Mon May 08 05:17:10 2006 +0000
     1.2 +++ b/test/testalpha.c	Mon May 08 05:30:15 2006 +0000
     1.3 @@ -505,7 +505,10 @@
     1.4  					}
     1.5  					break;
     1.6  				case SDL_KEYDOWN:
     1.7 -					/* Any keypress quits the app... */
     1.8 +					if ( event.key.keysym.sym == SDLK_ESCAPE ) {
     1.9 +						done = 1;
    1.10 +					}
    1.11 +					break;
    1.12  				case SDL_QUIT:
    1.13  					done = 1;
    1.14  					break;