From 5f40daabc239716517353b4c00f9714a71794d70 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Fri, 4 Sep 2015 15:47:48 -0700 Subject: Reverse the device and block names for device-specific options --- 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 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); } -- cgit v1.2.3