diff --git a/src/sound/midi_fluidsynth.c b/src/sound/midi_fluidsynth.c index afd306eb2..e745d6580 100644 --- a/src/sound/midi_fluidsynth.c +++ b/src/sound/midi_fluidsynth.c @@ -9,7 +9,7 @@ #include #include "../config.h" #include "../device.h" -#include "../plat.h" +#include "../ui.h" #include "../win/plat_dynld.h" #include "../win/plat_thread.h" #include "midi.h" @@ -225,7 +225,7 @@ void* fluidsynth_init(device_t *info) fluidsynth_handle = dynld_module("libfluidsynth.dll", fluidsynth_imports); if (fluidsynth_handle == NULL) { - plat_msgbox_error(IDS_2171); + ui_msgbox(MBX_ERROR, (wchar_t *)IDS_2171); return NULL; }