Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Patched to compile on pre-C99 compilers.

  • Loading branch information
icculus committed Jul 5, 2013
1 parent 5b750fd commit f27179ae46eb074e58111589c6c9fc095fd700ab
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/audio/SDL_audio.c
@@ -1172,11 +1172,12 @@ SDL_CloseAudio(void)
void
SDL_AudioQuit(void)
{
SDL_AudioDeviceID i;

if (!current_audio.name) { /* not initialized?! */
return;
}

SDL_AudioDeviceID i;
for (i = 0; i < SDL_arraysize(open_devices); i++) {
if (open_devices[i] != NULL) {
SDL_CloseAudioDevice(i);

0 comments on commit f27179a

Please sign in to comment.