aboutsummaryrefslogtreecommitdiffstats
path: root/al/effect.cpp
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2019-09-16 15:10:36 -0700
committerChris Robinson <[email protected]>2019-09-16 15:10:36 -0700
commit899a414591559633f2641a74325dffc5e54562c7 (patch)
tree5cd3b23181266634ff89fd3bc3ea68862bc0762c /al/effect.cpp
parent6d93b2ba81958eb277da4361924e89bc7048da41 (diff)
Remove the last uses of the system's str[n]casecmp
Diffstat (limited to 'al/effect.cpp')
-rw-r--r--al/effect.cpp5
1 files changed, 3 insertions, 2 deletions
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);