Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
skyjake committed Jun 25, 2012
1 parent 849d01c commit 3dd37bf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doomsday/engine/portable/src/s_wav.c
Expand Up @@ -224,12 +224,12 @@ void* WAV_Load(const char* filename, int* bits, int* rate, int* samples)
uint8_t* data;
size_t size;

if(!file)return NULL;
if(!file) return NULL;

// Read in the whole thing.
size = DFile_Length(file);

DEBUG_Message(("WAD_Load: Loading from %s (size %i, fpos %i)\n", Str_Text(AbstractFile_Path(DFile_File_Const(file))),
DEBUG_Message(("WAV_Load: Loading from %s (size %i, fpos %i)\n", Str_Text(AbstractFile_Path(DFile_File_Const(file))),
(int)size, (int)DFile_Tell(file)));

data = (uint8_t*)malloc(size);
Expand Down

0 comments on commit 3dd37bf

Please sign in to comment.