# HG changeset patch # User tron # Date 2005-07-14 06:10:23 # Node ID de9df306ffd73811b0ca1e815a2387b992afdae0 # Parent fbf1210a991f3eb34cb6490b333ba7dca6b7d21b (svn r2563) -Fix: [1209084] Spaces in the path to the MIDI files caused the win32 MIDI player to fail diff --git a/win32.c b/win32.c --- a/win32.c +++ b/win32.c @@ -846,7 +846,7 @@ static long CDECL MidiSendCommand(const 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)