diff src/audio/bsd/SDL_bsdaudio.c @ 2735:204be4fc2726

Final merge of Google Summer of Code 2008 work... Port SDL 1.3 to the Nintendo DS by Darren Alton, mentored by Sam Lantinga
author Sam Lantinga <slouken@libsdl.org>
date Wed, 27 Aug 2008 15:10:03 +0000
parents 2e36e0ecde33
children 99210400e8b9
line wrap: on
line diff
--- a/src/audio/bsd/SDL_bsdaudio.c	Wed Aug 27 13:37:19 2008 +0000
+++ b/src/audio/bsd/SDL_bsdaudio.c	Wed Aug 27 15:10:03 2008 +0000
@@ -270,8 +270,7 @@
             || ((written < 0) && ((errno == 0) || (errno == EAGAIN)))) {
             SDL_Delay(1);       /* Let a little CPU time go by */
         }
-    }
-    while (p < written);
+    } while (p < written);
 
     /* If timer synchronization is enabled, set the next write frame */
     if (this->hidden->frame_ticks) {