diff --git a/win32.c b/win32.c index 590e416004..d5bcdf7c6e 100644 --- a/win32.c +++ b/win32.c @@ -846,7 +846,7 @@ static long CDECL MidiSendCommand(const char *cmd, ...) { static bool MidiIntPlaySong(const char *filename) { MidiSendCommand("close all"); - if (MidiSendCommand("open %s type sequencer alias song", filename) != 0) + if (MidiSendCommand("open \"%s\" type sequencer alias song", filename) != 0) return false; if (MidiSendCommand("play song from 0") != 0)