music.c
changeset 682 6f2ff3d6e04d
parent 648 bd8389c6dd20
child 687 3af92aa761d2
     1.1 --- a/music.c	Sun May 11 11:20:42 2014 -0400
     1.2 +++ b/music.c	Sun Jun 15 13:09:33 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("");
     1.8 +    Mix_SetError(NULL);
     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");