comparison 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
comparison
equal deleted inserted replaced
3867:4dae257a9cbf 3868:b2f59aadec0d
503 SDL_FillRect(screen, &area, 0); 503 SDL_FillRect(screen, &area, 0);
504 SDL_UpdateRects(screen,1,&area); 504 SDL_UpdateRects(screen,1,&area);
505 } 505 }
506 break; 506 break;
507 case SDL_KEYDOWN: 507 case SDL_KEYDOWN:
508 #ifndef _WIN32_WCE
508 if ( event.key.keysym.sym == SDLK_ESCAPE ) { 509 if ( event.key.keysym.sym == SDLK_ESCAPE ) {
509 done = 1; 510 done = 1;
510 } 511 }
512 #else
513 // there is no ESC key at all
514 done = 1;
515 #endif
511 break; 516 break;
512 case SDL_QUIT: 517 case SDL_QUIT:
513 done = 1; 518 done = 1;
514 break; 519 break;
515 default: 520 default: