src/events/SDL_events.c
changeset 353 d47637068e52
parent 352 b49fc922e7f6
child 383 5e31d8bfffcf
--- a/src/events/SDL_events.c	Mon Apr 15 04:51:26 2002 +0000
+++ b/src/events/SDL_events.c	Mon Apr 15 04:53:41 2002 +0000
@@ -383,7 +383,7 @@
 	while ( 1 ) {
 		SDL_PumpEvents();
 		switch(SDL_PeepEvents(event, 1, SDL_GETEVENT, SDL_ALLEVENTS)) {
-		    case -1: return -1; 
+		    case -1: return 0;
 		    case 1: return 1;
 		    case 0: SDL_Delay(10);
 		}