aboutsummaryrefslogtreecommitdiffstats
path: root/Alc
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2015-09-04 16:09:09 -0700
committerChris Robinson <[email protected]>2015-09-04 16:09:09 -0700
commit0eb83fe462a800d8dde96f0975d33a7f95ca9ba0 (patch)
tree9faac1470946d7c130064c697ff306b939e7ef2c /Alc
parent5f40daabc239716517353b4c00f9714a71794d70 (diff)
Make option and block names case-sensitive
This is to avoid any issues with device names that can be case-sensitive, and strcasecmp not working properly for non-ASCII-7 uppercase characters.
Diffstat (limited to 'Alc')
-rw-r--r--Alc/alcConfig.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/alcConfig.c b/Alc/alcConfig.c
index b69631ea..6fc9db33 100644
--- a/Alc/alcConfig.c
+++ b/Alc/alcConfig.c
@@ -483,7 +483,7 @@ const char *GetConfigValue(const char *devName, const char *blockName, const cha
for(i = 0;i < cfgBlock.entryCount;i++)
{
- if(strcasecmp(cfgBlock.entries[i].key, key) == 0)
+ if(strcmp(cfgBlock.entries[i].key, key) == 0)
{
TRACE("Found %s = \"%s\"\n", key, cfgBlock.entries[i].value);
if(cfgBlock.entries[i].value[0])