From 0eb83fe462a800d8dde96f0975d33a7f95ca9ba0 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Fri, 4 Sep 2015 16:09:09 -0700 Subject: 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. --- Alc/alcConfig.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Alc') 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]) -- cgit v1.2.3