diff options
author | tron <tron@openttd.org> | 2005-07-14 06:10:23 +0000 |
---|---|---|
committer | tron <tron@openttd.org> | 2005-07-14 06:10:23 +0000 |
commit | 1a046ff4c6f0295328ccc0cd6a4cd7a491f7ddbf (patch) | |
tree | 016b1be5e9c4ff1b5e741db9480198939cb4e486 | |
parent | be98b1bf7e1c7fdab206746084de7cb1a062d672 (diff) | |
download | openttd-1a046ff4c6f0295328ccc0cd6a4cd7a491f7ddbf.tar.xz |
(svn r2563) -Fix: [1209084] Spaces in the path to the MIDI files caused the win32 MIDI player to fail
-rw-r--r-- | win32.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) |