mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-30 18:09:09 +00:00
Fix: [Fluidsynth] Crash when debug output enabled (#9446)
This commit is contained in:
@@ -65,7 +65,7 @@ const char *MusicDriver_FluidSynth::Start(const StringList ¶m)
|
||||
const char *sfont_name = GetDriverParam(param, "soundfont");
|
||||
int sfont_id;
|
||||
|
||||
Debug(driver, 1, "Fluidsynth: sf {}", sfont_name);
|
||||
Debug(driver, 1, "Fluidsynth: sf {}", sfont_name != nullptr ? sfont_name : "(null)");
|
||||
|
||||
/* Create the settings. */
|
||||
_midi.settings = new_fluid_settings();
|
||||
|
Reference in New Issue
Block a user