test/testalpha.c
branchSDL-1.2
changeset 3868 b2f59aadec0d
parent 1779 67fc81efcfc3
child 5943 b442dbd2b6be
     1.1 --- a/test/testalpha.c	Sat Sep 16 12:00:03 2006 +0000
     1.2 +++ b/test/testalpha.c	Sat Sep 23 23:07:52 2006 +0000
     1.3 @@ -505,9 +505,14 @@
     1.4  					}
     1.5  					break;
     1.6  				case SDL_KEYDOWN:
     1.7 +#ifndef _WIN32_WCE
     1.8  					if ( event.key.keysym.sym == SDLK_ESCAPE ) {
     1.9  						done = 1;
    1.10  					}
    1.11 +#else
    1.12 +					// there is no ESC key at all
    1.13 +					done = 1;
    1.14 +#endif
    1.15  					break;
    1.16  				case SDL_QUIT:
    1.17  					done = 1;