From 899a414591559633f2641a74325dffc5e54562c7 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Mon, 16 Sep 2019 15:10:36 -0700 Subject: Remove the last uses of the system's str[n]casecmp --- al/effect.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'al') diff --git a/al/effect.cpp b/al/effect.cpp index 2ad4c26e..f7d17f50 100644 --- a/al/effect.cpp +++ b/al/effect.cpp @@ -43,6 +43,7 @@ #include "alexcpt.h" #include "almalloc.h" #include "alnumeric.h" +#include "alstring.h" #include "effects/base.h" #include "logging.h" #include "opthelpers.h" @@ -668,7 +669,7 @@ static const struct { void LoadReverbPreset(const char *name, ALeffect *effect) { - if(strcasecmp(name, "NONE") == 0) + if(al::strcasecmp(name, "NONE") == 0) { InitEffectParams(effect, AL_EFFECT_NULL); TRACE("Loading reverb '%s'\n", "NONE"); @@ -685,7 +686,7 @@ void LoadReverbPreset(const char *name, ALeffect *effect) { const EFXEAXREVERBPROPERTIES *props; - if(strcasecmp(name, reverbitem.name) != 0) + if(al::strcasecmp(name, reverbitem.name) != 0) continue; TRACE("Loading reverb '%s'\n", reverbitem.name); -- cgit v1.2.3