aboutsummaryrefslogtreecommitdiff
path: root/sound/midiparser_xmidi.cpp
diff options
context:
space:
mode:
authorTorbjörn Andersson2005-05-27 12:43:19 +0000
committerTorbjörn Andersson2005-05-27 12:43:19 +0000
commiteeab93cf0904734ccaffb0d79ce8f657b9846b4a (patch)
treed3126a88a3cf4d480a66328c33de356bd038143c /sound/midiparser_xmidi.cpp
parentbdee380fd94b92014b8afbff5945e027d51deb53 (diff)
downloadscummvm-rg350-eeab93cf0904734ccaffb0d79ce8f657b9846b4a.tar.gz
scummvm-rg350-eeab93cf0904734ccaffb0d79ce8f657b9846b4a.tar.bz2
scummvm-rg350-eeab93cf0904734ccaffb0d79ce8f657b9846b4a.zip
More whitespace changes.
svn-id: r18273
Diffstat (limited to 'sound/midiparser_xmidi.cpp')
-rw-r--r--sound/midiparser_xmidi.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/sound/midiparser_xmidi.cpp b/sound/midiparser_xmidi.cpp
index 1524e25541..3b86424c46 100644
--- a/sound/midiparser_xmidi.cpp
+++ b/sound/midiparser_xmidi.cpp
@@ -179,14 +179,14 @@ bool MidiParser_XMIDI::loadMusic(byte *data, uint32 size) {
// Must be at least 2 bytes long
if (chunk_len < 2) {
- warning("Invalid chunk length %d for 'INFO' block!", (int) chunk_len);
+ warning("Invalid chunk length %d for 'INFO' block!", (int)chunk_len);
return false;
}
- _num_tracks = (byte) read2low(pos);
+ _num_tracks = (byte)read2low(pos);
if (chunk_len > 2) {
- warning("Chunk length %d is greater than 2", (int) chunk_len);
+ warning("Chunk length %d is greater than 2", (int)chunk_len);
pos += chunk_len - 2;
}
break;
@@ -224,7 +224,7 @@ bool MidiParser_XMIDI::loadMusic(byte *data, uint32 size) {
// Ok it's an XMIDI.
// We're going to identify and store the location for each track.
if (_num_tracks > ARRAYSIZE(_tracks)) {
- warning("Can only handle %d tracks but was handed %d", (int) ARRAYSIZE(_tracks), (int) _num_tracks);
+ warning("Can only handle %d tracks but was handed %d", (int)ARRAYSIZE(_tracks), (int)_num_tracks);
return false;
}