AUDIO: Fix message format

This commit is contained in:
Eugene Sandulenko 2021-08-23 16:26:31 +02:00
parent 3af9677427
commit 198975a007
No known key found for this signature in database
GPG Key ID: 014D387312D34F08

View File

@ -365,7 +365,7 @@ int MidiDriver_FluidSynth::open() {
#endif
if (_soundFont == -1) {
GUI::MessageDialog dialog(_("FluidSynth: Failed loading custom SoundFont '%s'. Music is off."), soundfont);
GUI::MessageDialog dialog(Common::U32String::format(_("FluidSynth: Failed loading custom SoundFont '%s'. Music is off."), soundfont));
dialog.runModal();
return MERR_DEVICE_NOT_AVAILABLE;
}