aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Alc/alcConfig.c2
-rw-r--r--alsoftrc.sample2
2 files changed, 2 insertions, 2 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);
}
diff --git a/alsoftrc.sample b/alsoftrc.sample
index 0c57e220..3f4a0c63 100644
--- a/alsoftrc.sample
+++ b/alsoftrc.sample
@@ -11,7 +11,7 @@
# Device-specific values may be specified by including the device name in the
# block name, with "general" replaced by the device name. That is, general
# options for the device "Name of Device" would be in the [Name of Device]
-# block, while ALSA options would be in the [Name of Device/alsa] block.
+# block, while ALSA options would be in the [alsa/Name of Device] block.
# Options marked as "(global)" are not influenced by the device.
#
# The system-wide settings can be put in /etc/openal/alsoft.conf and user-