diff options
author | Jordi Vilalta Prat | 2008-01-27 19:47:41 +0000 |
---|---|---|
committer | Jordi Vilalta Prat | 2008-01-27 19:47:41 +0000 |
commit | 66e9d4f5e8f35b28f8abd9ce53a0da4da3ce8985 (patch) | |
tree | e27aadabecd8dd910884280e6559ff9c94c3d73c /backends/midi | |
parent | 278857698dc7b1623096fe1ad12511dc4c886c7e (diff) | |
download | scummvm-rg350-66e9d4f5e8f35b28f8abd9ce53a0da4da3ce8985.tar.gz scummvm-rg350-66e9d4f5e8f35b28f8abd9ce53a0da4da3ce8985.tar.bz2 scummvm-rg350-66e9d4f5e8f35b28f8abd9ce53a0da4da3ce8985.zip |
Removed trailing spaces.
svn-id: r30664
Diffstat (limited to 'backends/midi')
-rw-r--r-- | backends/midi/dmedia.cpp | 8 | ||||
-rw-r--r-- | backends/midi/timidity.cpp | 6 |
2 files changed, 7 insertions, 7 deletions
diff --git a/backends/midi/dmedia.cpp b/backends/midi/dmedia.cpp index 849d90dfc7..6865f3e537 100644 --- a/backends/midi/dmedia.cpp +++ b/backends/midi/dmedia.cpp @@ -18,8 +18,8 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * - * $URL: - * $Id: dmedia.cpp + * $URL:$ + * $Id: dmedia.cpp$ */ /* @@ -27,7 +27,7 @@ * some code liberated from seq.cpp and coremidi.cpp */ -#if defined(IRIX) +#if defined(IRIX) #include "common/scummsys.h" #include "sound/mpu401.h" @@ -86,7 +86,7 @@ int MidiDriver_DMEDIA::open() { if (getenv("SCUMMVM_MIDIPORT")) { _deviceNum = atoi(getenv("SCUMMVM_MIDIPORT")); _midiportName = mdGetName(_deviceNum); - } + } else { _midiportName = mdGetName(0); diff --git a/backends/midi/timidity.cpp b/backends/midi/timidity.cpp index 963af86a6e..8b10cf07a4 100644 --- a/backends/midi/timidity.cpp +++ b/backends/midi/timidity.cpp @@ -168,7 +168,7 @@ int MidiDriver_TIMIDITY::open() { return -1; } - /* should read greeting issued by server upon connect: + /* should read greeting issued by server upon connect: * "220 TiMidity++ v2.13.2 ready)" */ res = timidity_ctl_command(NULL); if (atoi(res) != 220) { @@ -178,7 +178,7 @@ int MidiDriver_TIMIDITY::open() { } /* - * setup buf and prepare data connection + * setup buf and prepare data connection */ /* should read: "200 OK" */ res = timidity_ctl_command("SETBUF %f %f", BUF_LOW_SYNC, BUF_HIGH_SYNC); @@ -200,7 +200,7 @@ int MidiDriver_TIMIDITY::open() { } /* - * open data connection + * open data connection */ data_port = atoi(res + 4); if ((_data_fd = connect_to_server(timidity_host, data_port)) < 0) { |