summaryrefslogtreecommitdiff
path: root/win32.c
diff options
context:
space:
mode:
Diffstat (limited to 'win32.c')
-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)