music.c
changeset 687 3af92aa761d2
parent 682 6f2ff3d6e04d
child 711 f40c5ac95b12
     1.1 --- a/music.c	Wed Jun 25 00:49:12 2014 -0700
     1.2 +++ b/music.c	Wed Jun 25 21:04:22 2014 -0700
     1.3 @@ -574,7 +574,7 @@
     1.4  
     1.5      /* We need to know if a specific error occurs; if not, we'll set a
     1.6       * generic one, so we clear the current one. */
     1.7 -    Mix_SetError(NULL);
     1.8 +    SDL_ClearError();
     1.9      music = Mix_LoadMUSType_RW(src, type, SDL_TRUE);
    1.10      if ( music == NULL && Mix_GetError()[0] == '\0' ) {
    1.11          Mix_SetError("Unrecognized music format");