Skip to content

Commit

Permalink
Whoops, wrong error return value
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Oct 4, 2009
1 parent 9537a2f commit 1695743
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion music_mod.c
Expand Up @@ -54,7 +54,7 @@ int MOD_init(SDL_AudioSpec *mixerfmt)
CHAR *list;

if ( Mix_InitMOD() < 0 ) {
return NULL;
return -1;
}

/* Set the MikMod music format */
Expand Down

0 comments on commit 1695743

Please sign in to comment.