aboutsummaryrefslogtreecommitdiffstats
path: root/al/extension.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 /al/extension.cpp
parent650764775febeedd2834ce3a0838d6468f4b6b31 (diff)
Add and use custom string types and functions
Diffstat (limited to 'al/extension.cpp')
-rw-r--r--al/extension.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/al/extension.cpp b/al/extension.cpp
index ab759262..35c53136 100644
--- a/al/extension.cpp
+++ b/al/extension.cpp
@@ -29,6 +29,7 @@
#include "alcontext.h"
#include "alexcpt.h"
+#include "alstring.h"
#include "opthelpers.h"
@@ -45,8 +46,7 @@ START_API_FUNC
const char *ptr{context->mExtensionList};
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 AL_TRUE;
if((ptr=strchr(ptr, ' ')) != nullptr)