aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/alcConfig.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2015-09-04 15:47:48 -0700
committerChris Robinson <[email protected]>2015-09-04 15:47:48 -0700
commit5f40daabc239716517353b4c00f9714a71794d70 (patch)
tree96ccbb9b17b95090075315646fe70019d0ff4808 /Alc/alcConfig.c
parent30398083f46478ab358c0310d093632f991be12d (diff)
Reverse the device and block names for device-specific options
Diffstat (limited to 'Alc/alcConfig.c')
-rw-r--r--Alc/alcConfig.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/alcConfig.c b/Alc/alcConfig.c
index c5d1055a..b69631ea 100644
--- a/Alc/alcConfig.c
+++ b/Alc/alcConfig.c
@@ -466,7 +466,7 @@ const char *GetConfigValue(const char *devName, const char *blockName, const cha
if(blockName && strcasecmp(blockName, "general") != 0)
{
if(devName)
- snprintf(key, sizeof(key), "%s/%s/%s", devName, blockName, keyName);
+ snprintf(key, sizeof(key), "%s/%s/%s", blockName, devName, keyName);
else
snprintf(key, sizeof(key), "%s/%s", blockName, keyName);
}