foxygit / doom Log in
commit 769b385cf676ffc4d226fdb13b3591dd06be8d06
Author:     Jonathan Dowland <jon+github@alcopop.org>
AuthorDate: Tue Jun 23 18:18:14 2015 +0100
Commit:     Jonathan Dowland <jon+github@alcopop.org>
CommitDate: Fri Jun 26 08:04:37 2015 +0100

    Minor whitespace fix-ups
---
 src/i_sdlsound.c     | 2 +-
 src/i_sound.h        | 4 ++--
 src/strife/s_sound.c | 8 ++++----
 3 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/src/i_sdlsound.c b/src/i_sdlsound.c
index 82b12daf..7704d3f8 100644
--- a/src/i_sdlsound.c
+++ b/src/i_sdlsound.c
@@ -279,7 +279,7 @@ static void UnlockAllocatedSound(allocated_sound_t *snd)
     //printf("-- %s: Use count=%i\n", snd->sfxinfo->name, snd->use_count);
 }

-// When a sound stops, check if it is still playing.  If it is not,
+// When a sound stops, check if it is still playing.  If it is not,
 // we can mark the sound data as CACHE to be freed back for other
 // means.

diff --git a/src/i_sound.h b/src/i_sound.h
index 4490b96a..c59bea9d 100644
--- a/src/i_sound.h
+++ b/src/i_sound.h
@@ -32,7 +32,7 @@ struct sfxinfo_struct
 {
     // tag name, used for hexen.
     char *tagname;
-
+
     // lump name.  If we are running with use_sfx_prefix=true, a
     // 'DS' (or 'DP' for PC speaker sounds) is prepended to this.

@@ -56,7 +56,7 @@ struct sfxinfo_struct
     int usefulness;

     // lump number of sfx
-    int lumpnum;
+    int lumpnum;

     // Maximum number of channels that the sound can be played on
     // (Heretic)
diff --git a/src/strife/s_sound.c b/src/strife/s_sound.c
index 3f010ea1..525d5a34 100644
--- a/src/strife/s_sound.c
+++ b/src/strife/s_sound.c
@@ -454,7 +454,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;
         }

@@ -462,7 +462,7 @@ void S_StartSound(void *origin_p, int sfx_id)
         {
             return;
         }
-    }
+    }
     else
     {
         sep = NORM_SEP;
@@ -615,7 +615,7 @@ void I_StartVoice(const char *lumpname)

         // get a channel for the voice
         i_voicehandle = S_GetChannel(NULL, &voice->sfx, true);
-
+
         channels[i_voicehandle].handle
             = I_StartSound(&voice->sfx, i_voicehandle, snd_VoiceVolume, NORM_SEP);
     }
@@ -693,7 +693,7 @@ void S_UpdateSounds(mobj_t *listener)
                                                   c->origin,
                                                   &volume,
                                                   &sep);
-
+
                     if (!audible)
                     {
                         S_StopChannel(cnum);