Update comment for Mix_HookMusicFinished
authorJørgen P. Tjernø <jorgenpt@gmail.com>
Mon, 21 Apr 2014 12:53:54 -0700
changeset 67799007f264b9c
parent 676 f2811021d074
child 678 9d5033ee8e38
Update comment for Mix_HookMusicFinished

It was incorrectly stating that the hook only gets called if it's a "natural"
finish of the music.
SDL_mixer.h
     1.1 --- a/SDL_mixer.h	Sat Apr 19 12:50:44 2014 -0400
     1.2 +++ b/SDL_mixer.h	Mon Apr 21 12:53:54 2014 -0700
     1.3 @@ -207,8 +207,8 @@
     1.4   */
     1.5  extern DECLSPEC void SDLCALL Mix_HookMusic(void (*mix_func)(void *udata, Uint8 *stream, int len), void *arg);
     1.6  
     1.7 -/* Add your own callback when the music has finished playing.
     1.8 -   This callback is only called if the music finishes naturally.
     1.9 +/* Add your own callback for when the music has finished playing or when it is
    1.10 + * stopped from a call to Mix_HaltMusic.
    1.11   */
    1.12  extern DECLSPEC void SDLCALL Mix_HookMusicFinished(void (*music_finished)(void));
    1.13