mirror of
https://github.com/ZDoom/fluidsynth.git
synced 2025-04-15 20:30:49 +00:00
Using FLUID_STRCASECMP
This commit is contained in:
parent
3c73f28033
commit
b4636534a3
1 changed files with 1 additions and 1 deletions
|
@ -514,7 +514,7 @@ new_fluid_winmidi_driver(fluid_settings_t *settings,
|
|||
}
|
||||
|
||||
fluid_settings_getint(settings, "midi.autoconnect", &autoconnect);
|
||||
if ((autoconnect) && (strcmp(dev_name, "default") == 0))
|
||||
if ((autoconnect) && (FLUID_STRCASECMP(dev_name, "default") == 0))
|
||||
{
|
||||
fluid_settings_getint(settings, "synth.midi-channels", &synth_midi_channels);
|
||||
max_devices = midiInGetNumDevs(); /* get number of real devices installed */
|
||||
|
|
Loading…
Reference in a new issue