medfall

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

commit 6b0f52db10934bbd7fcb65a0efdec65690ee65c1
parent 6b657d96aa0abd2696c0de77b9aaad3de5617023
Author: Michael Savage <mikejsavage@gmail.com>
Date:   Sat Jun  4 21:02:37 +0100

Style

Diffstat:
gl.cc | 2+-
wave.cc | 6++----
2 files changed, 3 insertions(+), 5 deletions(-)
diff --git a/gl.cc b/gl.cc @@ -15,7 +15,7 @@ #ifndef __APPLE__ static const char * type_string( const GLenum type ) { - switch (type) { + switch( type ) { case GL_DEBUG_TYPE_ERROR: return "error"; case GL_DEBUG_TYPE_DEPRECATED_BEHAVIOR: diff --git a/wave.cc b/wave.cc @@ -73,14 +73,12 @@ bool wave_decode( MemoryArena * arena, u8 * data, SoundData * sound ) { sound->num_channels = fmt->num_channels; sound->sample_rate = fmt->sample_rate; - break; - } + } break; case WAVEID_data: { sound->samples = ( s16 * ) ( chunk + 1 ); data_length = chunk->length; - break; - }; + } break; default: { printf( "wtf is this\n" );