Quote MIDI device names

Addresses #650
This commit is contained in:
derselbst 2020-05-19 16:36:00 +02:00
parent 4f1fdc0df7
commit 9ad2bcaa10

View file

@ -259,7 +259,7 @@ new_fluid_winmidi_driver(fluid_settings_t *settings,
str_cmp_res = FLUID_STRCASECMP(dev_name, in_caps.szPname);
#endif
FLUID_LOG(FLUID_DBG, "Testing midi device: %s", in_caps.szPname);
FLUID_LOG(FLUID_DBG, "Testing midi device \"%s\"", in_caps.szPname);
if(str_cmp_res == 0)
{
@ -276,7 +276,7 @@ new_fluid_winmidi_driver(fluid_settings_t *settings,
if(midi_num != i)
{
FLUID_LOG(FLUID_ERR, "Device <%s> does not exists", dev_name);
FLUID_LOG(FLUID_ERR, "Device \"%s\" does not exists", dev_name);
return NULL;
}
}