foxygit / doom Log in
commit 738da515a5004b555553e95e0fe9af2317badf36
Author:     Jonathan Dowland <jon+github@alcopop.org>
AuthorDate: Sun Jun 21 16:49:47 2015 +0100
Commit:     Jonathan Dowland <jon+github@alcopop.org>
CommitDate: Sun Jun 21 16:49:47 2015 +0100

    Miscellaneous whitespace/formatting clean-ups

    Just in drive-by whilst working on something else.
---
 src/doom/s_sound.c |  4 ++--
 src/i_sdlsound.c   | 10 +++++-----
 src/i_sound.c      |  2 +-
 3 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/src/doom/s_sound.c b/src/doom/s_sound.c
index 884e0c1a..b94041f7 100644
--- a/src/doom/s_sound.c
+++ b/src/doom/s_sound.c
@@ -438,7 +438,7 @@ void S_StartSound(void *origin_p, int sfx_id)

         if (origin->x == players[consoleplayer].mo->x
          && origin->y == players[consoleplayer].mo->y)
-        {
+        {
             sep = NORM_SEP;
         }

@@ -446,7 +446,7 @@ void S_StartSound(void *origin_p, int sfx_id)
         {
             return;
         }
-    }
+    }
     else
     {
         sep = NORM_SEP;
diff --git a/src/i_sdlsound.c b/src/i_sdlsound.c
index 2f33edae..82b12daf 100644
--- a/src/i_sdlsound.c
+++ b/src/i_sdlsound.c
@@ -875,7 +875,7 @@ static int I_SDL_StartSound(sfxinfo_t *sfxinfo, int channel, int vol, int sep)

     if (!LockSound(sfxinfo))
     {
-	return -1;
+        return -1;
     }

     snd = sfxinfo->driver_data;
@@ -887,7 +887,7 @@ static int I_SDL_StartSound(sfxinfo_t *sfxinfo, int channel, int vol, int sep)
     channels_playing[channel] = sfxinfo;

     // set separation, etc.
-
+
     I_SDL_UpdateSoundParams(channel, vol, sep);

     return channel;
@@ -919,7 +919,7 @@ static boolean I_SDL_SoundIsPlaying(int handle)
     return Mix_Playing(handle);
 }

-//
+//
 // Periodically called to update the sound system
 //

@@ -935,14 +935,14 @@ static void I_SDL_UpdateSound(void)
         {
             // Sound has finished playing on this channel,
             // but sound data has not been released to cache
-
+
             ReleaseSoundOnChannel(i);
         }
     }
 }

 static void I_SDL_ShutdownSound(void)
-{
+{
     if (!sound_initialized)
     {
         return;
diff --git a/src/i_sound.c b/src/i_sound.c
index a646aed1..10b3f0ca 100644
--- a/src/i_sound.c
+++ b/src/i_sound.c
@@ -345,7 +345,7 @@ void I_PrecacheSounds(sfxinfo_t *sounds, int num_sounds)
 {
     if (sound_module != NULL && sound_module->CacheSounds != NULL)
     {
-	sound_module->CacheSounds(sounds, num_sounds);
+        sound_module->CacheSounds(sounds, num_sounds);
     }
 }