summaryrefslogtreecommitdiff
path: root/src/sdl/sdl_snd.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/sdl/sdl_snd.c')
-rw-r--r--src/sdl/sdl_snd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sdl/sdl_snd.c b/src/sdl/sdl_snd.c
index a087c486..9420f0ba 100644
--- a/src/sdl/sdl_snd.c
+++ b/src/sdl/sdl_snd.c
@@ -157,7 +157,7 @@ qboolean SNDDMA_Init(void)
if (!SDL_WasInit(SDL_INIT_AUDIO))
{
- if (SDL_Init(SDL_INIT_AUDIO) == -1)
+ if (SDL_Init(SDL_INIT_AUDIO) != 0)
{
Com_Printf( "FAILED (%s)\n", SDL_GetError( ) );
return qfalse;