src/audio/esd/SDL_esdaudio.c
branchgsoc2008_nds
changeset 2669 e27bdcc80744
parent 2060 866052b01ee5
child 2859 99210400e8b9
--- a/src/audio/esd/SDL_esdaudio.c	Wed Apr 23 06:27:10 2008 +0000
+++ b/src/audio/esd/SDL_esdaudio.c	Tue Jun 10 06:45:39 2008 +0000
@@ -154,9 +154,8 @@
         if ((written < 0) && ((errno == 0) || (errno == EAGAIN))) {
             SDL_Delay(1);       /* Let a little CPU time go by */
         }
-    }
-    while ((written < 0) &&
-           ((errno == 0) || (errno == EAGAIN) || (errno == EINTR)));
+    } while ((written < 0) &&
+             ((errno == 0) || (errno == EAGAIN) || (errno == EINTR)));
 
     /* Set the next write frame */
     this->hidden->next_frame += this->hidden->frame_ticks;