summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--win32.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/win32.c b/win32.c
index 590e41600..d5bcdf7c6 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)