aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32/alSoundfont.c
diff options
context:
space:
mode:
Diffstat (limited to 'OpenAL32/alSoundfont.c')
-rw-r--r--OpenAL32/alSoundfont.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenAL32/alSoundfont.c b/OpenAL32/alSoundfont.c
index 8ea4c750..96feed46 100644
--- a/OpenAL32/alSoundfont.c
+++ b/OpenAL32/alSoundfont.c
@@ -318,7 +318,7 @@ ALsoundfont *ALsoundfont_getDefSoundfont(ALCcontext *context)
namelist = getenv("ALSOFT_SOUNDFONT");
if(!namelist || !namelist[0])
- ConfigValueStr("midi", "soundfont", &namelist);
+ ConfigValueStr(al_string_get_cstr(device->DeviceName), "midi", "soundfont", &namelist);
while(namelist && namelist[0])
{
const char *next, *end;