diff options
author | Chris Robinson <[email protected]> | 2015-09-04 16:09:09 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2015-09-04 16:09:09 -0700 |
commit | 0eb83fe462a800d8dde96f0975d33a7f95ca9ba0 (patch) | |
tree | 9faac1470946d7c130064c697ff306b939e7ef2c /Alc/alcConfig.c | |
parent | 5f40daabc239716517353b4c00f9714a71794d70 (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/alcConfig.c')
-rw-r--r-- | Alc/alcConfig.c | 2 |
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]) |