aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--OpenAL32/alFontsound.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenAL32/alFontsound.c b/OpenAL32/alFontsound.c
index 8e28355a..670fddad 100644
--- a/OpenAL32/alFontsound.c
+++ b/OpenAL32/alFontsound.c
@@ -78,7 +78,7 @@ AL_API ALvoid AL_APIENTRY alDeleteFontsoundsSOFT(ALsizei n, const ALuint *ids)
for(i = 0;i < n;i++)
{
- if((inst=LookupFontsound(device, ids[i])) == NULL)
+ if((inst=LookupFontsound(device, ids[i])) != NULL)
DeleteFontsound(device, inst);
}