diff test/testalpha.c @ 3868:b2f59aadec0d SDL-1.2

Fixed bug #294 Can't build SDL 1.2.11(and svn) for Pocket PC 2003 with Visual Studio 2005 Fix contributed by Dmitry Yakimov
author Sam Lantinga <slouken@libsdl.org>
date Sat, 23 Sep 2006 23:07:52 +0000
parents 67fc81efcfc3
children
line wrap: on
line diff
--- a/test/testalpha.c	Sat Sep 16 12:00:03 2006 +0000
+++ b/test/testalpha.c	Sat Sep 23 23:07:52 2006 +0000
@@ -505,9 +505,14 @@
 					}
 					break;
 				case SDL_KEYDOWN:
+#ifndef _WIN32_WCE
 					if ( event.key.keysym.sym == SDLK_ESCAPE ) {
 						done = 1;
 					}
+#else
+					// there is no ESC key at all
+					done = 1;
+#endif
 					break;
 				case SDL_QUIT:
 					done = 1;