aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/alcConfig.c
diff options
context:
space:
mode:
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);
}