diff options
Diffstat (limited to 'OpenAL32')
-rw-r--r-- | OpenAL32/alMidi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenAL32/alMidi.c b/OpenAL32/alMidi.c index 3bc61aae..27a02a62 100644 --- a/OpenAL32/alMidi.c +++ b/OpenAL32/alMidi.c @@ -204,8 +204,8 @@ static void FSynth_setState(FSynth *self, ALenum state) { if(self->FontID == FLUID_FAILED) { - const char *filename = getenv("FLUID_SOUNDFONT"); - if(!filename || !filename[0]) + const char *filename = GetConfigValue("midi", "soundfont", ""); + if(!filename[0]) ERR("No default soundfont found!\n"); else { |