src/video/cocoa/SDL_cocoaevents.m
changeset 1932 dc864bcabcc4
parent 1931 103c6fec2a60
child 1936 83946ee0ff1f
--- a/src/video/cocoa/SDL_cocoaevents.m	Sun Jul 23 09:11:10 2006 +0000
+++ b/src/video/cocoa/SDL_cocoaevents.m	Sun Jul 23 09:16:14 2006 +0000
@@ -157,7 +157,7 @@
     NSAutoreleasePool *pool;
 
     pool = [[NSAutoreleasePool alloc] init];
-    for ( ; [NSApp isRunning]; ) {
+    while ([NSApp isRunning]) {
         NSEvent *event = [NSApp nextEventMatchingMask:NSAnyEventMask untilDate:[NSDate distantPast] inMode:NSDefaultRunLoopMode dequeue:YES ];
         if ( event == nil ) {
             break;