src/audio/ums/SDL_umsaudio.c
branchgsoc2008_nds
changeset 2669 e27bdcc80744
parent 2049 5f6550e5184f
child 2859 99210400e8b9
--- a/src/audio/ums/SDL_umsaudio.c	Wed Apr 23 06:27:10 2008 +0000
+++ b/src/audio/ums/SDL_umsaudio.c	Tue Jun 10 06:45:39 2008 +0000
@@ -218,8 +218,7 @@
 #endif
             return;
         }
-    }
-    while (samplesToWrite > 0);
+    } while (samplesToWrite > 0);
 
     SDL_LockAudio();
     SDL_memcpy(&swpbuf, &this->hidden->playbuf, sizeof(UMSAudioTypes_Buffer));
@@ -326,8 +325,7 @@
         if (!success) {
             test_format = SDL_NextAudioFormat();
         }
-    }
-    while (!success && test_format);
+    } while (!success && test_format);
 
     if (success == 0) {
         SDL_SetError("Couldn't find any hardware audio formats");