X-Git-Url: https://deadsoftware.ru/gitweb?a=blobdiff_plain;ds=sidebyside;f=src%2Fsdlmixer%2Fsound.c;h=f8ef47efa7f1f7b41737091c62deb0fdb46860e4;hb=99e9995ba077aa90b20b47d528ccd3ff27949652;hp=8867e57057cfd62460e526c27a2132949e610549;hpb=e4b2e65833f9ba8436226956c391e3d6d2ff2951;p=flatwaifu.git diff --git a/src/sdlmixer/sound.c b/src/sdlmixer/sound.c index 8867e57..f8ef47e 100644 --- a/src/sdlmixer/sound.c +++ b/src/sdlmixer/sound.c @@ -9,6 +9,7 @@ #include "SDL.h" #include "SDL_mixer.h" #include +#include #define TAG_MIX1 0x4d495831 @@ -141,7 +142,7 @@ static sdlmixer_snd *new_sdlmixer_snd (const void *data, dword len, dword rate, snd_t *S_get (int id) { void *handle; sdlmixer_snd *snd = NULL; - if (devinit != NULL) { + if (devinit) { handle = M_lock(id); if (handle != NULL) { void *data = handle;