aboutsummaryrefslogtreecommitdiffstats
path: root/router/alc.cpp
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2019-09-16 13:45:14 -0700
committerChris Robinson <[email protected]>2019-09-16 13:45:14 -0700
commit2c5c5a5397883602ca2aec4f34f9bd2c085779b3 (patch)
tree3909a6774d375c128e17c7667132adfb91cd160f /router/alc.cpp
parent650764775febeedd2834ce3a0838d6468f4b6b31 (diff)
Add and use custom string types and functions
Diffstat (limited to 'router/alc.cpp')
-rw-r--r--router/alc.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/router/alc.cpp b/router/alc.cpp
index 0f552523..6620b6a7 100644
--- a/router/alc.cpp
+++ b/router/alc.cpp
@@ -11,6 +11,7 @@
#include <array>
#include "AL/alc.h"
+#include "alstring.h"
#include "router.h"
@@ -539,7 +540,7 @@ ALC_API ALCboolean ALC_APIENTRY alcIsExtensionPresent(ALCdevice *device, const A
ptr = alcExtensionList;
while(ptr && *ptr)
{
- if(strncasecmp(ptr, extname, len) == 0 && (ptr[len] == '\0' || isspace(ptr[len])))
+ if(al::strncasecmp(ptr, extname, len) == 0 && (ptr[len] == '\0' || isspace(ptr[len])))
return ALC_TRUE;
if((ptr=strchr(ptr, ' ')) != nullptr)
{