Changeset - r2054:de9df306ffd7
[Not reviewed]
master
0 1 0
tron - 19 years ago 2005-07-14 06:10:23
tron@openttd.org
(svn r2563) -Fix: [1209084] Spaces in the path to the MIDI files caused the win32 MIDI player to fail
1 file changed with 1 insertions and 1 deletions:
win32.c
1
1
0 comments (0 inline, 0 general)
win32.c
Show inline comments
 
@@ -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)
0 comments (0 inline, 0 general)