summaryrefslogtreecommitdiff
path: root/src/music/os2_m.cpp
diff options
context:
space:
mode:
authorpeter1138 <peter1138@openttd.org>2009-04-10 11:03:48 +0000
committerpeter1138 <peter1138@openttd.org>2009-04-10 11:03:48 +0000
commit6bf1a494756aaf38c947ae06863f5ebe89c2614c (patch)
tree77f13324fa57a032679664936a4fcd165e373673 /src/music/os2_m.cpp
parent9acb1dc3f2111af3d20b853e6fe0d8123a9c3374 (diff)
downloadopenttd-6bf1a494756aaf38c947ae06863f5ebe89c2614c.tar.xz
(svn r16012) -Codechange: Code style clean up.
Diffstat (limited to 'src/music/os2_m.cpp')
-rw-r--r--src/music/os2_m.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/music/os2_m.cpp b/src/music/os2_m.cpp
index d4ceb23e8..6abee6172 100644
--- a/src/music/os2_m.cpp
+++ b/src/music/os2_m.cpp
@@ -38,8 +38,9 @@ void MusicDriver_OS2::PlaySong(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;
+ }
MidiSendCommand("play song from 0");
}